Skip to content

Commit

Permalink
Add config flag to toggle “help” button
Browse files Browse the repository at this point in the history
  • Loading branch information
mraveux committed Nov 26, 2024
1 parent fae9013 commit 69bcdd6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<UpdateNotification/>

<WalletStatusButton/>
<WalletStatusButton v-if="$config.showHelpButton"/>

<div v-if="!hasAccounts" class="loader flex-row">
<LoadingSpinner/>
Expand Down
1 change: 1 addition & 0 deletions src/config/config.local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default {
'/dns4/seed4.pos.nimiq-testnet.com/tcp/8443/wss',
],
disableNetworkInteraction: false,
showHelpButton: false,
faucetEndpoint: 'https://faucet.pos.nimiq-testnet.com',
reportToSentry: false,
enableBitcoin: true,
Expand Down
1 change: 1 addition & 0 deletions src/config/config.mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default {
'/dns4/zenith.seed.nimiq.systems/tcp/443/wss',
],
disableNetworkInteraction: false,
showHelpButton: true,
faucetEndpoint: '',
reportToSentry: true,
enableBitcoin: true,
Expand Down
1 change: 1 addition & 0 deletions src/config/config.testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default {
'/dns4/seed4.pos.nimiq-testnet.com/tcp/8443/wss',
],
disableNetworkInteraction: false,
showHelpButton: true,
faucetEndpoint: 'https://faucet.pos.nimiq-testnet.com',
reportToSentry: true,
enableBitcoin: true,
Expand Down

0 comments on commit 69bcdd6

Please sign in to comment.