Skip to content

Commit

Permalink
fix: hide testnet warning when not connected
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceat committed Mar 28, 2024
1 parent 9056cc4 commit 64f5e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/navigation/top-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function address_display(account) {

<template lang="pug">
nav(:class="{ small: breakpoints.mobile.matches }")
.beware-tesnet(v-if="current_network !== 'mainnet'") {{ t('testnet') }}
.beware-tesnet(v-if="current_wallet && current_network !== 'mainnet'") {{ t('testnet') }}
vs-row(justify="end")
// ======
vs-button.btn(v-if="!current_wallet" type="border" color="#eee" @click="login_dialog = true")
Expand Down

0 comments on commit 64f5e3d

Please sign in to comment.