Browse Source

fix: display admin link to all admin permissions (#1052)

pull/1066/head
Nick 5 years ago
parent
commit
3db491a8a4
1 changed files with 1 additions and 1 deletions
  1. 2
      client/components/common/nav-header.vue

2
client/components/common/nav-header.vue

@ -265,7 +265,7 @@ export default {
}
},
isAdmin() {
return _.includes(this.permissions, 'manage:system')
return _.intersection(this.permissions, ['manage:system', 'write:users', 'manage:users', 'write:groups', 'manage:groups', 'manage:navigation', 'manage:theme', 'manage:api']).length > 0
}
},
created() {

Loading…
Cancel
Save