From 2fd569f825e16599cf25272ca99b808fe2d9ec60 Mon Sep 17 00:00:00 2001 From: Settel Date: Wed, 16 Mar 2022 13:41:33 +0100 Subject: [PATCH] feat: show debug panel with #debug --- client/src/pages/play.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/pages/play.vue b/client/src/pages/play.vue index eb8dc15..ceb6342 100644 --- a/client/src/pages/play.vue +++ b/client/src/pages/play.vue @@ -36,7 +36,8 @@ export default { }, computed: { showDebugPanel() { - return this.$route.query && this.$route.query.debug + const { hash } = this.$route + return hash.indexOf('debug') > -1 }, gameState() { return this.$store.state.game.state