From 14bb1ce69e70e748ebb3fa19b601d93d42dda76c Mon Sep 17 00:00:00 2001 From: Troplo Date: Sun, 11 Apr 2021 22:32:36 +1000 Subject: [PATCH] Change debug to development So debug options don't appear on production Canary --- src/App.vue | 2 +- src/components/Footer.vue | 2 +- src/components/Navbar.vue | 2 +- src/views/Debug.vue | 8 ++++---- src/views/Register.vue | 4 ++-- src/views/SettingsSecurity.vue | 2 ++ 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3992080..a131582 100644 --- a/src/App.vue +++ b/src/App.vue @@ -30,7 +30,7 @@ export default { Object.assign(axios.defaults, { headers: { Authorization: this.$store.state.user.token }, }); - if (this.$store.state.debug) { + if (this.$store.state.client.development) { this.$buefy.snackbar.open({ message: this.$t("errors.devBuild"), type: "is-warning", diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 9023587..747649f 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -108,7 +108,7 @@

!! BEING ACCESSED INSECURELY !!

!! INSECURE WARNING OVERRIDE !!

- Debug: Disable insecure warning + Debug: Disable insecure warning {{ $t("languages.title") }} Provide Feedback
diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index ad88370..813fae4 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -241,7 +241,7 @@ {{ $t("navbar.teams") }}