improve ipfs detection & update notifications

This commit is contained in:
gozzy 2022-11-12 01:12:11 +00:00
parent 61c2865c46
commit b2304b7008
2 changed files with 20 additions and 31 deletions

View file

@ -83,31 +83,6 @@
</i18n>
</b-notification>
<b-notification
v-if="isEthLink"
:active="isActiveNotification.ethLink"
class="main-notification"
type="is-warning"
icon-pack="icon"
has-icon
:aria-close-label="$t('closeNotification')"
@close="disableNotification({ key: 'ethLink' })"
>
<i18n path="ethLinkBanner.notification">
<template v-slot:issue>
<a
href="https://discuss.ens.domains/t/eth-link-expiry/13899"
target="_blank"
rel="noopener noreferrer"
>{{ $t('ethLinkBanner.issue') }}</a
>
</template>
<template v-slot:alternative>
<a href="https://tornado.cash/">{{ $t('ethLinkBanner.alternative') }}</a>
</template>
</i18n>
</b-notification>
<div class="columns">
<div class="column is-half">
<b-tabs v-model="activeTab" class="is-tornado" :animated="false" @input="tabChanged">
@ -140,8 +115,7 @@ export default {
data() {
return {
activeTab: 0,
isActive: false,
isEthLink: window.location.host === 'tornadocash.eth.link'
isActive: false
}
},
computed: {