feat: add install extension buttons on interceptor menu

This commit is contained in:
liyasthomas
2021-12-25 20:51:17 +05:30
parent 10cb433e80
commit 579c5e5b78
2 changed files with 32 additions and 11 deletions

View File

@@ -13,6 +13,27 @@
:selected="interceptorSelection"
@change="toggleSettingKey"
/>
<div
v-if="interceptorSelection == 'EXTENSIONS_ENABLED' && !extensionVersion"
class="flex space-x-2"
>
<ButtonSecondary
to="https://chrome.google.com/webstore/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld"
blank
svg="brands/chrome"
label="Chrome"
outline
class="!flex-1"
/>
<ButtonSecondary
to="https://addons.mozilla.org/en-US/firefox/addon/hoppscotch"
blank
svg="brands/firefox"
label="Firefox"
outline
class="!flex-1"
/>
</div>
</div>
</template>