Rework routing to make sidebar dependent on child routes

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-12-23 21:57:43 +01:00
parent ef06f21d2a
commit acd85eb097
5 changed files with 66 additions and 22 deletions

View File

@@ -24,7 +24,6 @@
<div>
<Controls :board="board" />
<div v-if="board">
board {{ board.title }}<br>
<!-- example for external drop zone -->
<container :should-accept-drop="() => true" style="border:1px solid #aaa;" />
<button @click="toggleSidebar">toggle sidebar</button>
@@ -104,7 +103,7 @@ export default {
board: state => state.currentBoard
}),
orderedCards() {
//return (stack) => _.orderBy(this.stacks[stack].cards, 'order')
// return (stack) => _.orderBy(this.stacks[stack].cards, 'order')
}
},