mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Fix navbar badge
This commit is contained in:
parent
01dd38c0db
commit
614c2a80c6
|
@ -167,7 +167,7 @@ export default defineComponent({
|
|||
};
|
||||
|
||||
const setOpenTradesAsPill = (tradeCount: number) => {
|
||||
if (!favicon) {
|
||||
if (!favicon.value) {
|
||||
favicon.value = new Favico({
|
||||
animation: 'none',
|
||||
// position: 'up',
|
||||
|
@ -177,9 +177,9 @@ export default defineComponent({
|
|||
});
|
||||
}
|
||||
if (tradeCount !== 0 && settingsStore.openTradesInTitle === 'showPill') {
|
||||
favicon.badge(tradeCount);
|
||||
favicon.value.badge(tradeCount);
|
||||
} else {
|
||||
favicon.reset();
|
||||
favicon.value.reset();
|
||||
console.log('reset');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user