Browse Source

Show bubble menu item only to admins on nodes

pull/8/head
Kristijan Mitrovic 4 years ago
parent
commit
284470f909
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      src/_store/system.module.js

+ 8
- 6
src/_store/system.module.js View File

@@ -178,12 +178,14 @@ const getters = {
index: 1
});
} else {
dashApps.push({
href: '/bubble/' + configs.networkUuid,
title: messages.label_menu_network,
icon: messages.label_menu_networks_icon,
index: 1
});
if (isAdmin) {
dashApps.push({
href: '/bubble/' + configs.networkUuid,
title: messages.label_menu_network,
icon: messages.label_menu_networks_icon,
index: 1
});
}
dashApps.push({
href: '/devices',
title: messages.label_menu_devices,


Loading…
Cancel
Save