mirror of
https://github.com/romancm/gamebrary
synced 2024-11-12 22:47:14 +00:00
Move game actions to header
This commit is contained in:
parent
2c5e859108
commit
63c5650802
1 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,16 @@
|
|||
v-else
|
||||
:class="[{ 'text-light': darkTheme }, 'game-page']"
|
||||
>
|
||||
<portal to="headerActions">
|
||||
<b-dropdown id="dropdown-1" text="Edit game" class="m-md-2">
|
||||
<b-dropdown-item @click="$router.push({ name: 'game.notes', params: { id: game.id, slug: game.slug } })">
|
||||
Add note
|
||||
</b-dropdown-item>
|
||||
<b-button v-b-modal.gameTagsModal>Edit tags</b-button>
|
||||
<b-button v-b-modal.addRemoveGameModal>Add to list</b-button>
|
||||
</b-dropdown>
|
||||
</portal>
|
||||
|
||||
<b-row>
|
||||
<b-col
|
||||
cols="12"
|
||||
|
|
Loading…
Reference in a new issue