24 lines
499 B
Vue
24 lines
499 B
Vue
<template>
|
|
<div class="main pusher page-library">
|
|
<router-view :key="$router.currentRoute.fullPath"></router-view>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
computed: {
|
|
showImports() {
|
|
return (
|
|
this.$store.state.auth.availablePermissions["upload"] ||
|
|
this.$store.state.auth.availablePermissions["library"]
|
|
)
|
|
},
|
|
labels() {
|
|
return {
|
|
secondaryMenu: this.$pgettext('Menu/*/Hidden text', "Secondary menu")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|