small fixes

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-09 12:56:35 +02:00
committed by Julius Härtl
parent 39ae9332e2
commit 097bb21b45
8 changed files with 52 additions and 44 deletions

View File

@@ -27,6 +27,18 @@
<a href="#">
{{ board.title }}
</a>
<span v-if="actions.length > 0">
<template v-if="board.acl.length === 0">
<button class="icon-shared" style="opacity: 0.3" @click="showSidebar" />
</template>
<template v-else>
<button class="icon-shared" @click="showSidebar" />
</template>
</span>
<div v-if="actions.length > 0" class="app-navigation-entry-utils">
<ul>
<li class="app-navigation-entry-utils-menu-button">
@@ -212,6 +224,11 @@ export default {
},
cancelEdit(e) {
this.editing = false
},
showSidebar() {
const route = this.routeTo
route.name = 'board.details'
this.$router.push(route)
}
},
inject: [