Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: tippy on request + lint

liyasthomas5e3c303aafb7
diff --git a/components/http/Authorization.vue b/components/http/Authorization.vue
index 0bafbd501..b230e89bd 100644
--- a/components/http/Authorization.vue
+++ b/components/http/Authorization.vue
@@ -113,9 +113,9 @@
class="divide-x divide-dividerLight border-b border-dividerLight flex"
>
<SmartEnvInput
- class="bg-primary flex flex-1 py-1 px-4"
v-if="EXPERIMENTAL_URL_BAR_ENABLED"
v-model="basicUsername"
+ class="bg-primary flex flex-1 py-1 px-4"
:placeholder="$t('authorization.username')"
/>
<input
@@ -131,9 +131,9 @@
class="divide-x divide-dividerLight border-b border-dividerLight flex"
>
<SmartEnvInput
- class="bg-primary flex flex-1 py-1 px-4"
v-if="EXPERIMENTAL_URL_BAR_ENABLED"
v-model="basicPassword"
+ class="bg-primary flex flex-1 py-1 px-4"
:placeholder="$t('authorization.password')"
/>
<input
@@ -186,9 +186,9 @@
class="divide-x divide-dividerLight border-b border-dividerLight flex"
>
<SmartEnvInput
- class="bg-primary flex flex-1 py-1 px-4"
v-if="EXPERIMENTAL_URL_BAR_ENABLED"
v-model="bearerToken"
+ class="bg-primary flex flex-1 py-1 px-4"
placeholder="Token"
/>
<input
@@ -235,9 +235,9 @@
class="divide-x divide-dividerLight border-b border-dividerLight flex"
>
<SmartEnvInput
- class="bg-primary flex flex-1 py-1 px-4"
v-if="EXPERIMENTAL_URL_BAR_ENABLED"
v-model="oauth2Token"
+ class="bg-primary flex flex-1 py-1 px-4"
placeholder="Token"
/>
<input
diff --git a/components/http/Request.vue b/components/http/Request.vue
index 208a7d4a4..07c0b5c14 100644
--- a/components/http/Request.vue
+++ b/components/http/Request.vue
@@ -183,7 +183,7 @@
@click.native="
() => {
copyRequest()
- sendOptions.tippy().hide()
+ saveOptions.tippy().hide()
}
"
/>
@@ -194,7 +194,7 @@
@click.native="
() => {
showSaveRequestModal = true
- sendOptions.tippy().hide()
+ saveOptions.tippy().hide()
}
"
/>