mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +00:00
allow to edit tag from dropdown
This commit is contained in:
parent
2b53334019
commit
278696527a
2 changed files with 10 additions and 2 deletions
|
@ -12,9 +12,16 @@
|
||||||
<i class="fas fa-ellipsis-h fa-fw" aria-hidden />
|
<i class="fas fa-ellipsis-h fa-fw" aria-hidden />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<b-dropdown-item @click="$emit('selected', name)">
|
<b-dropdown-item @click="$emit('edit', name)">
|
||||||
Edit
|
Edit
|
||||||
</b-dropdown-item>
|
</b-dropdown-item>
|
||||||
|
|
||||||
|
<b-dropdown-item
|
||||||
|
variant="danger"
|
||||||
|
@click="$emit('delete', name)"
|
||||||
|
>
|
||||||
|
Delete
|
||||||
|
</b-dropdown-item>
|
||||||
</b-dropdown>
|
</b-dropdown>
|
||||||
|
|
||||||
<b-badge
|
<b-badge
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
|
|
||||||
<tags-list
|
<tags-list
|
||||||
v-if="gameTags && localTags"
|
v-if="gameTags && localTags"
|
||||||
@selected="editTag"
|
@edit="editTag"
|
||||||
|
@delete="promptDeleteTag"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue