mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +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(
|
||||
() => botStore.activeBotorUndefined?.openTradeCount,
|
||||
() => {
|
||||
console.log('openTradeCount changed');
|
||||
if (
|
||||
settingsStore.openTradesInTitle === OpenTradeVizOptions.showPill &&
|
||||
botStore.activeBotorUndefined?.openTradeCount
|
||||
) {
|
||||
setOpenTradesAsPill(botStore.activeBotorUndefined.openTradeCount);
|
||||
if (settingsStore.openTradesInTitle === OpenTradeVizOptions.showPill) {
|
||||
setOpenTradesAsPill(botStore.activeBotorUndefined?.openTradeCount ?? 0);
|
||||
} else if (settingsStore.openTradesInTitle === OpenTradeVizOptions.asTitle) {
|
||||
setTitle();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user