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
refactor: tweaks
jamesgeorge007ad041a5cf1ec
diff --git a/pages/index.vue b/pages/index.vueindex da0fb1b5a..77c39403e 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -2790,15 +2790,15 @@ export default {});},tokenReqChange({ target }) {- const targetReq = this.tokenReqs.find(({ name }) => name === target.value);- let {+ const { details, name } = this.tokenReqs.find(({ name }) => name === target.value);+ const {oidcDiscoveryUrl,authUrl,accessTokenUrl,clientId,scope- } = targetReq.details;- this.tokenReqName = targetReq.name;+ } = details;+ this.tokenReqName = name;this.oidcDiscoveryUrl = oidcDiscoveryUrl;this.authUrl = authUrl;this.accessTokenUrl = accessTokenUrl;