mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 19:48:24 +00:00
only show game actions if you're board owner
This commit is contained in:
parent
03fb73c173
commit
7ffbe6b909
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<b-dropdown
|
<b-dropdown
|
||||||
v-if="user"
|
v-if="user && user.uid === board.owner"
|
||||||
right
|
right
|
||||||
no-caret
|
no-caret
|
||||||
:variant="nightMode ? 'dark' : 'light'"
|
:variant="nightMode ? 'dark' : 'light'"
|
||||||
|
@ -232,7 +232,7 @@ export default {
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
// TODO: rename gameModalData
|
// TODO: rename gameModalData
|
||||||
...mapState(['gameModalData', 'games', 'platform', 'progresses', 'tags', 'user']),
|
...mapState(['board', 'gameModalData', 'games', 'platform', 'progresses', 'tags', 'user']),
|
||||||
...mapGetters(['nightMode']),
|
...mapGetters(['nightMode']),
|
||||||
|
|
||||||
hasMultipleGames() {
|
hasMultipleGames() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue