mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 11:05:17 +00:00
Fix tradecount in header not resetting to 0
This commit is contained in:
parent
62f4ba1d23
commit
fa493c22d2
|
@ -215,12 +215,8 @@ export default defineComponent({
|
||||||
watch(
|
watch(
|
||||||
() => botStore.activeBotorUndefined?.openTradeCount,
|
() => botStore.activeBotorUndefined?.openTradeCount,
|
||||||
() => {
|
() => {
|
||||||
console.log('openTradeCount changed');
|
if (settingsStore.openTradesInTitle === OpenTradeVizOptions.showPill) {
|
||||||
if (
|
setOpenTradesAsPill(botStore.activeBotorUndefined?.openTradeCount ?? 0);
|
||||||
settingsStore.openTradesInTitle === OpenTradeVizOptions.showPill &&
|
|
||||||
botStore.activeBotorUndefined?.openTradeCount
|
|
||||||
) {
|
|
||||||
setOpenTradesAsPill(botStore.activeBotorUndefined.openTradeCount);
|
|
||||||
} else if (settingsStore.openTradesInTitle === OpenTradeVizOptions.asTitle) {
|
} else if (settingsStore.openTradesInTitle === OpenTradeVizOptions.asTitle) {
|
||||||
setTitle();
|
setTitle();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user