From 1a4631a11e10a6b773bfb164c80d8e3bf9e9db54 Mon Sep 17 00:00:00 2001 From: Front <27463495+Frontesque@users.noreply.github.com> Date: Mon, 10 Jan 2022 18:21:43 -0500 Subject: finish debug --- Website/pages/debug.vue | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/Website/pages/debug.vue b/Website/pages/debug.vue index 1f4d327..8a3b48f 100644 --- a/Website/pages/debug.vue +++ b/Website/pages/debug.vue @@ -58,9 +58,8 @@ - RUNNING- {{ userInformation.extension.running ? "Yes" : "Failed to connect"}}
- VERSION- {{ userInformation.extension.version || "Failed to connect"}}
- SERVER CONNECTION-{{ userInformation.extension.serverConnection ? "Working" : "Failed to connect" }}
+ LATEST EXTENSION VERSION- {{ userInformation.extension.latestExtensionVersion || "Failed to lookup data" }}
+ SERVER CONNECTION- {{ userInformation.extension.serverConnection ? "Working" : "Failed to connect" }}
@@ -103,8 +102,6 @@ type: this.$ua._parsed.category }, extension: { - running: null, - version: null, serverConnection: null, latestExtensionVersion: null, }, @@ -129,9 +126,7 @@ }, mounted() { - const vm = this; - - //--- Wait ---// + //--- Init Stuff ---// setTimeout(() => { this.$axios.$get('https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json') @@ -174,13 +169,8 @@ //--- Parse Extension Data ---// - this.notices.extension.text = `Everything is running normally!`; - this.notices.extension.type = "success"; - - if (this.userInformation.extension.running != true) { - this.notices.extension.text = `The extension doesn't appear to be running!`; - this.notices.extension.type = "error"; - } + this.notices.extension.text = `We are unable to automatically check that your extension is up to date. Please check that the number below matches your extension version.`; + this.notices.extension.type = "warning"; if (this.userInformation.extension.serverConnection != true) { this.notices.extension.text = `Failed to connect to the server!`; -- cgit v1.2.3