mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 11:05:17 +00:00
chore: lint fixes
This commit is contained in:
parent
d99151c578
commit
01efa53e7e
|
@ -147,7 +147,7 @@ const dataset = computed((): PairHistory => {
|
|||
});
|
||||
const strategyName = computed(() => props.strategy || dataset.value?.strategy || '');
|
||||
const datasetColumns = computed(() =>
|
||||
dataset.value ? dataset.value.all_columns ?? dataset.value.columns : [],
|
||||
dataset.value ? (dataset.value.all_columns ?? dataset.value.columns) : [],
|
||||
);
|
||||
const hasDataset = computed(() => dataset.value && dataset.value.data.length > 0);
|
||||
const isLoadingDataset = computed((): boolean => {
|
||||
|
|
|
@ -98,8 +98,10 @@ const chartValues = computed<BalanceValues[]>(() => {
|
|||
: v.balance,
|
||||
currency: v.currency,
|
||||
est_stake:
|
||||
showBotOnly.value && canUseBotBalance.value ? v.est_stake_bot ?? v.est_stake : v.est_stake,
|
||||
free: showBotOnly.value && canUseBotBalance.value ? v.bot_owned ?? v.free : v.free,
|
||||
showBotOnly.value && canUseBotBalance.value
|
||||
? (v.est_stake_bot ?? v.est_stake)
|
||||
: v.est_stake,
|
||||
free: showBotOnly.value && canUseBotBalance.value ? (v.bot_owned ?? v.free) : v.free,
|
||||
used: v.used,
|
||||
stake: v.stake,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user