Skip to content

Commit

Permalink
Remove periodic networks
Browse files Browse the repository at this point in the history
  • Loading branch information
GusevPM committed May 19, 2024
1 parent 810406c commit 01b2066
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/components/MainHeaderDescriptive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
</RouterLink>
</div>
<div>
<v-btn v-if="!isSandbox"
@click="bcdModeRedirect"
text
small
class="text--secondary"
active-class="bg-before-transparent"
> {{ bcdInMainMode ? 'Periodic BCD' : 'Main BCD' }}
</v-btn>
<v-btn v-if="searchService.created()" text small :to="{ name: 'search' }" class="text--secondary" active-class="bg-before-transparent">
Search
</v-btn>
Expand Down Expand Up @@ -77,19 +69,7 @@ export default {
}
return `/${this.$route.params.network || this.config.networks[0]}/`
},
bcdInMainMode() {
return !window.location.hostname.startsWith('teztnets');
},
},
methods: {
bcdModeRedirect() {
if (this.bcdInMainMode) {
window.location.href = 'https://teztnets.better-call.dev/';
} else {
window.location.href = 'https://better-call.dev/';
}
},
}
}
</script>

Expand Down

0 comments on commit 01b2066

Please sign in to comment.