mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +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>
|
||||
|
||||
<b-dropdown
|
||||
v-if="user"
|
||||
v-if="user && user.uid === board.owner"
|
||||
right
|
||||
no-caret
|
||||
:variant="nightMode ? 'dark' : 'light'"
|
||||
|
@ -232,7 +232,7 @@ export default {
|
|||
|
||||
computed: {
|
||||
// TODO: rename gameModalData
|
||||
...mapState(['gameModalData', 'games', 'platform', 'progresses', 'tags', 'user']),
|
||||
...mapState(['board', 'gameModalData', 'games', 'platform', 'progresses', 'tags', 'user']),
|
||||
...mapGetters(['nightMode']),
|
||||
|
||||
hasMultipleGames() {
|
||||
|
|
Loading…
Reference in a new issue