feat: add install extension buttons on interceptor menu
This commit is contained in:
@@ -13,6 +13,27 @@
|
|||||||
:selected="interceptorSelection"
|
:selected="interceptorSelection"
|
||||||
@change="toggleSettingKey"
|
@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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -128,17 +128,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col space-y-2 py-4">
|
<div class="flex flex-col space-y-2 py-4">
|
||||||
<span>
|
|
||||||
<SmartItem
|
|
||||||
to="https://addons.mozilla.org/en-US/firefox/addon/hoppscotch"
|
|
||||||
blank
|
|
||||||
svg="brands/firefox"
|
|
||||||
label="Firefox"
|
|
||||||
:info-icon="hasFirefoxExtInstalled ? 'check_circle' : ''"
|
|
||||||
:active-info-icon="hasFirefoxExtInstalled"
|
|
||||||
outline
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
<span>
|
<span>
|
||||||
<SmartItem
|
<SmartItem
|
||||||
to="https://chrome.google.com/webstore/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld"
|
to="https://chrome.google.com/webstore/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld"
|
||||||
@@ -150,6 +139,17 @@
|
|||||||
outline
|
outline
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
<span>
|
||||||
|
<SmartItem
|
||||||
|
to="https://addons.mozilla.org/en-US/firefox/addon/hoppscotch"
|
||||||
|
blank
|
||||||
|
svg="brands/firefox"
|
||||||
|
label="Firefox"
|
||||||
|
:info-icon="hasFirefoxExtInstalled ? 'check_circle' : ''"
|
||||||
|
:active-info-icon="hasFirefoxExtInstalled"
|
||||||
|
outline
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="space-y-4 py-4">
|
<div class="space-y-4 py-4">
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user