Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Krupin <krupin.nikita0110@gmail.com>2021-12-28 00:36:18 +0300
committerNikita Krupin <krupin.nikita0110@gmail.com>2021-12-28 00:36:18 +0300
commiteadd98ac1aacdafefc7daef75d81d89fdde71fef (patch)
tree9a3c9196f1e57a31e4f49a1fa22dc8bd64944896
parent7e9da1b229c7954ecfc551d621bff16b6c5d3763 (diff)
added json parse for latest extension version
-rw-r--r--Website/pages/help.vue16
1 files changed, 4 insertions, 12 deletions
diff --git a/Website/pages/help.vue b/Website/pages/help.vue
index 6e0bc8d..8d4a672 100644
--- a/Website/pages/help.vue
+++ b/Website/pages/help.vue
@@ -3,7 +3,7 @@
<h1 class="title-text pt-12">Troubleshooting</h1>
<ol
class="col-xs-12 col-sm-11 col-md-9 col-lg-7 q-mx-auto text-left"
- style="line-height: 2.5rem; color: #aaa"
+ style="line-height: 3rem; color: #aaa"
>
<li>
Make sure you have latest version of extension installed,
@@ -90,23 +90,15 @@ export default {
},
data: () => ({
version: "2.0.0.3",
+ discordLink: "https://discord.gg/mYnESY4Md5",
}),
mounted() {
fetch(
"https://raw.githubusercontent.com/Anarios/return-youtube-dislike/main/Extensions/combined/manifest-chrome.json"
)
.then((response) => response.json())
- .then((data) => {
- console.log(data);
- // for (const product of data.products) {
- // let listItem = document.createElement("li");
- // listItem.appendChild(document.createElement("strong")).textContent =
- // product.Name;
- // listItem.append(` can be found in ${product.Location}. Cost: `);
- // listItem.appendChild(
- // document.createElement("strong")
- // ).textContent = `£${product.Price}`;
- // }
+ .then((json) => {
+ this.version = json.version;
});
// .catch(console.error);
},