chore: don't show debug panel by default

This commit is contained in:
Settel 2022-03-15 07:32:55 +01:00
parent 908080cde6
commit ff617fc7ea

View File

@ -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