Update definition of "small balance" for Balance chart

This commit is contained in:
Matthias 2022-01-24 19:36:32 +01:00
parent 367527ce9c
commit c40660c2cb

View File

@ -53,9 +53,13 @@ export default class Balance extends Vue {
@ftbot.Getter [BotStoreGetters.balance]!: BalanceInterface;
@ftbot.Getter [BotStoreGetters.stakeCurrencyDecimals]!: number;
hideSmallBalances = true;
smallBalance = 0.00001;
get smallBalance(): number {
return Number((0.1 ** this.stakeCurrencyDecimals).toFixed(8));
}
get balanceCurrencies() {
if (!this.hideSmallBalances) {