mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 06:00:22 +00:00
toast error if not owner of list
This commit is contained in:
parent
7ffbe6b909
commit
e9465e0b72
1 changed files with 9 additions and 1 deletions
|
@ -36,11 +36,19 @@
|
|||
</p>
|
||||
|
||||
<list-settings
|
||||
v-if="user"
|
||||
v-if="user && user.uid === board.owner"
|
||||
:list="list"
|
||||
:list-index="listIndex"
|
||||
/>
|
||||
|
||||
<b-button
|
||||
v-else-if="user.uid !== board.owner"
|
||||
@click="$bvToast.toast('No write access')"
|
||||
:variant="nightMode ? 'dark' : 'transparent'"
|
||||
>
|
||||
<i class="fas fa-caret-down fa-fw" aria-hidden />
|
||||
</b-button>
|
||||
|
||||
<b-button
|
||||
v-else
|
||||
v-b-modal:authModal
|
||||
|
|
Loading…
Reference in a new issue