try to do it in App.vue
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
committed by
Marcel Klehr
parent
d5dfd2c80c
commit
8fc4238bd9
@@ -23,7 +23,7 @@
|
||||
<template>
|
||||
<NcContent app-name="deck" :class="{ 'nav-hidden': !navShown, 'sidebar-hidden': !sidebarRouterView }">
|
||||
<AppNavigation />
|
||||
<NcAppContent>
|
||||
<NcAppContent @click="clickCloseSidebar()">
|
||||
<router-view />
|
||||
</NcAppContent>
|
||||
|
||||
@@ -122,6 +122,11 @@ export default {
|
||||
hideModal() {
|
||||
this.$router.push({ name: 'board' })
|
||||
},
|
||||
clickCloseSidebar() {
|
||||
if (this.sidebarShown) {
|
||||
this.$router.push({ name: 'board' })
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
<template>
|
||||
<NcAppSidebar v-if="currentBoard && currentCard"
|
||||
v-click-outside="closeSidebar"
|
||||
:active="tabId"
|
||||
:title="title"
|
||||
:subtitle="subtitle"
|
||||
|
||||
Reference in New Issue
Block a user