Skip to content

Commit

Permalink
Fixing bug where user profile tab was not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Nov 20, 2017
1 parent 0db1b08 commit aab7a4c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
1 change: 1 addition & 0 deletions Modules/Core/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ versions:
- Define the warning callback on the SetAppKey
- Cleaner <code>BaseCacheDecorator</code> class with a new <code>remember</code> function
- Checking if the tags() method exists when flushing
- Fixing bug where user profile tab was not showing
"3.3.0":
changed:
- Updating vue-simple-mde to avoid 'marked' warning with vuejs 2.5
Expand Down
2 changes: 1 addition & 1 deletion Modules/User/Assets/js/components/UserProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="box-body">
<el-tabs>
<el-tab-pane :label="trans('users.tabs.data')">
<span slot-scope="label"
<span scope="label"
:class="{'error' : form.errors.any()}">
{{ trans('users.tabs.data') }}
</span>
Expand Down
37 changes: 16 additions & 21 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -116867,28 +116867,23 @@ var render = function() {
[
_c(
"el-tab-pane",
{
attrs: { label: _vm.trans("users.tabs.data") },
scopedSlots: _vm._u([
{
key: "default",
fn: function(label) {
return _c(
"span",
{ class: { error: _vm.form.errors.any() } },
[
_vm._v(
"\n " +
_vm._s(_vm.trans("users.tabs.data")) +
"\n "
)
]
)
}
}
])
},
{ attrs: { label: _vm.trans("users.tabs.data") } },
[
_c(
"span",
{
class: { error: _vm.form.errors.any() },
attrs: { scope: "label" }
},
[
_vm._v(
"\n " +
_vm._s(_vm.trans("users.tabs.data")) +
"\n "
)
]
),
_vm._v(" "),
_c(
"el-form-item",
{
Expand Down

0 comments on commit aab7a4c

Please sign in to comment.