Commit 1b2a3126 authored by Anton's avatar Anton

Rename assets to documents

parent 742dcc27
......@@ -14,11 +14,11 @@
@click="executeApp('mosys', 'mosys.grids.list')",
big, flat
) Mosys
q-btn(v-if="userHasAssets",
:color="currentApp === 'assets' ? 'primary' : ''",
@click="executeApp('assets', 'assets.list')",
q-btn(v-if="userHasDocuments",
:color="currentApp === 'documents' ? 'primary' : ''",
@click="executeApp('documents', 'documents.list')",
big, flat
) Assets
) Documents
q-btn(color="primary", flat, icon="settings",
v-if="user", @click="$router.push({ name: 'users.manage' })") {{ user.profile ? user.profile.name : '' }}
......@@ -45,8 +45,8 @@
...mapGetters({
user: 'auth/getUserState'
}),
userHasAssets () {
return userHasFeature(this.user, 'assets')
userHasDocuments () {
return userHasFeature(this.user, 'documents')
}
},
methods: {
......
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