Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Set showExtensionsToast to false in local storage if no is clicked
Dmitry Yankowski0eab54cbdce4
diff --git a/layouts/default.vue b/layouts/default.vueindex 2ea94e7de..556502c9e 100644--- a/layouts/default.vue+++ b/layouts/default.vue@@ -797,10 +797,7 @@ export default {}let showExtensionsToast =localStorage.getItem("showExtensionsToast") === "yes";- if (- !this.extensionInstalled &&- !showExtensionsToast- ) {+ if (!this.extensionInstalled && !showExtensionsToast) {setTimeout(() => {this.$toast.show(this.$t("extensions_info2"), {icon: "extension",@@ -818,6 +815,11 @@ export default {{text: this.$t("no"),onClick: (e, toastObject) => {+ this.$store.commit("setMiscState", {+ value: false,+ attribute: "showExtensionsToast"+ });+ localStorage.setItem("showExtensionsToast", "no");toastObject.goAway(0);}}