Skip to content

Commit

Permalink
chg: hide top-up button on dashboard's footer dependng on the ``topUp…
Browse files Browse the repository at this point in the history
…`` variable in config.json
  • Loading branch information
Seddik authored and Seddik committed Jul 22, 2024
1 parent 6c4c804 commit 5a8dce8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion public/config.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@
},
"css": ".nav-item {color: red !important} .refresh {background-color: #009688;}",
"accountsRefreshInterval": 90,
"transactionsRefreshInterval": 47
"transactionsRefreshInterval": 47,
"topUp": true
}
2 changes: 1 addition & 1 deletion src/components/TheDashboardFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</span>
</button>
</div>
<div class="column has-text-centered mb-2">
<div v-if="$config?.topUp" class="column has-text-centered mb-2">
<button
:disabled="!account"
class="
Expand Down

0 comments on commit 5a8dce8

Please sign in to comment.