mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 20:45:15 +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 strategyName = computed(() => props.strategy || dataset.value?.strategy || '');
|
||||||
const datasetColumns = computed(() =>
|
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 hasDataset = computed(() => dataset.value && dataset.value.data.length > 0);
|
||||||
const isLoadingDataset = computed((): boolean => {
|
const isLoadingDataset = computed((): boolean => {
|
||||||
|
|
|
@ -98,8 +98,10 @@ const chartValues = computed<BalanceValues[]>(() => {
|
||||||
: v.balance,
|
: v.balance,
|
||||||
currency: v.currency,
|
currency: v.currency,
|
||||||
est_stake:
|
est_stake:
|
||||||
showBotOnly.value && canUseBotBalance.value ? v.est_stake_bot ?? v.est_stake : v.est_stake,
|
showBotOnly.value && canUseBotBalance.value
|
||||||
free: showBotOnly.value && canUseBotBalance.value ? v.bot_owned ?? v.free : v.free,
|
? (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,
|
used: v.used,
|
||||||
stake: v.stake,
|
stake: v.stake,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user