Disable Tornado Nova Ad

This commit is contained in:
Tornado Contrib 2024-06-29 21:44:06 -07:00
parent 33e3026cd1
commit 6886d81823
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
2 changed files with 5 additions and 3 deletions

@ -18,9 +18,9 @@
</template> </template>
<template v-slot:description>{{ notice.description }}</template> <template v-slot:description>{{ notice.description }}</template>
</i18n> </i18n>
<a v-if="notice.nova" href="https://nova.tornado.ws/" target="_blank" rel="noopener noreferrer"> <!-- a v-if="notice.nova" href="https://nova.tornado.ws/" target="_blank" rel="noopener noreferrer">
Tornado Cash Nova Tornado Cash Nova
</a> </a -->
<a <a
v-if="notice.txHash" v-if="notice.txHash"
:href="txExplorerUrl(notice.txHash)" :href="txExplorerUrl(notice.txHash)"

@ -64,7 +64,7 @@ export default {
}, },
created() { created() {
this.checkRecoveryKey() this.checkRecoveryKey()
this.newNotify() // this.newNotify()
this.$store.dispatch('fees/setDefaultGasPrice') this.$store.dispatch('fees/setDefaultGasPrice')
}, },
mounted() { mounted() {
@ -125,6 +125,7 @@ export default {
width: 440 width: 440
}) })
}, },
/**
newNotify() { newNotify() {
const hasNotify = window.localStorage.getItem('hasNotify') const hasNotify = window.localStorage.getItem('hasNotify')
@ -144,6 +145,7 @@ export default {
window.localStorage.setItem('hasNotify', true) window.localStorage.setItem('hasNotify', true)
} }
}, },
**/
handleOpenModal() { handleOpenModal() {
const recoveryKey = this.$sessionStorage.getItem(this.accounts.encrypt) const recoveryKey = this.$sessionStorage.getItem(this.accounts.encrypt)
if (recoveryKey) { if (recoveryKey) {