Skip to content

Commit 714fdef

Browse files
committed
Frontend: Update src/page/settings.vue
Signed-off-by: Michael Mayer <[email protected]>
1 parent 5f9b90b commit 714fdef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/page/settings.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export default {
5151
const isPublic = this.$config.isPublic();
5252
const isPortal = this.$config.isPortal();
5353
const isSuperAdmin = this.$session.isSuperAdmin();
54+
const hasScope = this.$session.hasScope();
5455
5556
const tabs = [
5657
{
@@ -77,7 +78,7 @@ export default {
7778
portal: false,
7879
admin: true,
7980
demo: true,
80-
show: $config.feature("settings"),
81+
show: $config.feature("settings") && !hasScope,
8182
},
8283
{
8384
name: "settings_advanced",

0 commit comments

Comments
 (0)