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
fix: fix conditional tabs not rerendering
Andrew Bastin47b341d50e96
diff --git a/packages/hoppscotch-app/components/smart/Tabs.vue b/packages/hoppscotch-app/components/smart/Tabs.vueindex c84974739..519edee2b 100644--- a/packages/hoppscotch-app/components/smart/Tabs.vue+++ b/packages/hoppscotch-app/components/smart/Tabs.vue@@ -74,6 +74,16 @@ export default defineComponent({}},+ updated() {+ const candidates = this.$children.filter(+ (child) => child.$options.name === "SmartTab"+ )++ if (candidates.length !== this.tabs.length) {+ this.tabs = candidates+ }+ },+mounted() {this.tabs = this.$children.filter((child) => child.$options.name === "SmartTab"