mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +00:00
hide board actions outside board
This commit is contained in:
parent
84093e27a2
commit
2caa497f40
1 changed files with 12 additions and 10 deletions
|
@ -32,21 +32,23 @@
|
|||
<i class="fas fa-ellipsis-h fa-fw" aria-hidden />
|
||||
</template>
|
||||
|
||||
<b-dropdown-header id="dropdown-header-label">
|
||||
{{ board.name }}
|
||||
</b-dropdown-header>
|
||||
<template v-if="$route.name === 'board'">
|
||||
<b-dropdown-header id="dropdown-header-label">
|
||||
{{ board.name }}
|
||||
</b-dropdown-header>
|
||||
|
||||
<b-dropdown-item v-b-modal:board-settings>Edit board</b-dropdown-item>
|
||||
<b-dropdown-item v-b-modal:add-list>Add list</b-dropdown-item>
|
||||
<b-dropdown-item v-b-modal:board-settings>Edit board</b-dropdown-item>
|
||||
<b-dropdown-item v-b-modal:add-list>Add list</b-dropdown-item>
|
||||
|
||||
<b-dropdown-item @click="pinBoard">
|
||||
{{ board.pinned ? 'Unpin from dock' : 'Pin to dock' }}
|
||||
</b-dropdown-item>
|
||||
<b-dropdown-item @click="pinBoard">
|
||||
{{ board.pinned ? 'Unpin from dock' : 'Pin to dock' }}
|
||||
</b-dropdown-item>
|
||||
|
||||
<b-dd-divider />
|
||||
<b-dd-divider />
|
||||
</template>
|
||||
|
||||
<b-dropdown-item v-b-modal:create-board>
|
||||
<i class="fas fa-cog fa-fw" aria-hidden />
|
||||
<i class="fas fa-plus fa-fw" aria-hidden />
|
||||
Create board
|
||||
</b-dropdown-item>
|
||||
|
||||
|
|
Loading…
Reference in a new issue