Commit e6e1ce2e authored by anton's avatar anton
Browse files

Add assets menu item

parent 850c2079
Pipeline #79103 passed with stage
in 16 seconds
......@@ -201,6 +201,16 @@
q-item-side(v-if="currentRoute === 'mosys.grids.create'")
q-btn.bg-primary.text-white(type="a", to="/mosys/grids", icon="clear", round, size="sm")
// ------------------------------------------------------------------------------------------------------ assets
q-item.q-pa-none.ui-border-bottom(v-if="user && showAssets", multiline)
q-item-main
q-item-tile
user-nav-button.text-white(
:route="{ name: 'users.assets', params: { uuid: 'me' } }",
:label="$t('navigation.users.assets')",
name="users.assets",
icon="file")
// ------------------------------------------------------------------------------------------------------ groups
q-item.q-pa-none.ui-border-bottom(v-if="user && showGroups", multiline)
q-item-main
......@@ -315,6 +325,9 @@
groups: [
'users.groups',
'users.groups_edit'
],
assets: [
'users.assets'
]
},
activeUserButtons: [],
......@@ -342,6 +355,9 @@
showGroups () {
return !process.env.UI_HIDE_GROUPS
},
showAssets () {
return process.env.UI_SHOW_ASSETS
},
editUserURL () {
return process.env.OAUTH_EDIT_PROFILE_URL
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment