chore: don't show debug panel by default
This commit is contained in:
parent
908080cde6
commit
ff617fc7ea
@ -32,11 +32,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
showDebugPanel() {
|
||||
const user = this.$store.state.engine.user
|
||||
if (this.$route.query && this.$route.query.debug) {
|
||||
return true
|
||||
}
|
||||
return user && ['gamemaster', 'admin'].indexOf(user.role) != -1
|
||||
return this.$route.query && this.$route.query.debug
|
||||
},
|
||||
gameState() {
|
||||
return this.$store.state.game.state
|
||||
|
Loading…
Reference in New Issue
Block a user