forked from MapComplete/MapComplete
Fix #839
This commit is contained in:
parent
aba3f84e72
commit
d85110992e
1 changed files with 4 additions and 1 deletions
|
@ -103,7 +103,10 @@ export default class NewNoteUi extends Toggle {
|
||||||
]
|
]
|
||||||
).SetClass("flex flex-col"),
|
).SetClass("flex flex-col"),
|
||||||
newNoteUi,
|
newNoteUi,
|
||||||
noteLayer.appliedFilters.map(filters => Array.from(filters.values()).some(v => v !== undefined))
|
noteLayer.appliedFilters.map(filters => {
|
||||||
|
console.log("Applied filters for notes are: ", filters)
|
||||||
|
return Array.from(filters.values()).some(v => v?.currentFilter !== undefined);
|
||||||
|
})
|
||||||
),
|
),
|
||||||
new Combine([
|
new Combine([
|
||||||
t.noteLayerNotEnabled.SetClass("alert"),
|
t.noteLayerNotEnabled.SetClass("alert"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue