Hide navigation on shared folders
parent
2c40f8d57e
commit
d3d3e34808
|
@ -8,7 +8,7 @@
|
|||
'remove-gap': removeOuterGap,
|
||||
}"
|
||||
>
|
||||
<NcAppNavigation>
|
||||
<NcAppNavigation v-if="showNavigation">
|
||||
<template id="app-memories-navigation" #list>
|
||||
<NcAppNavigationItem
|
||||
:to="{ name: 'timeline' }"
|
||||
|
@ -168,6 +168,10 @@ export default class App extends Mixins(GlobalMixin, UserConfig) {
|
|||
return this.ncVersion >= 25;
|
||||
}
|
||||
|
||||
get showNavigation() {
|
||||
return this.$route.name !== "folder-share";
|
||||
}
|
||||
|
||||
async beforeMount() {
|
||||
if ("serviceWorker" in navigator) {
|
||||
// Use the window load event to keep the page load performant
|
||||
|
|
Loading…
Reference in New Issue