This commit is contained in:
pietervdvn 2022-05-23 01:23:53 +02:00
parent aba3f84e72
commit d85110992e

View file

@ -103,7 +103,10 @@ export default class NewNoteUi extends Toggle {
]
).SetClass("flex flex-col"),
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([
t.noteLayerNotEnabled.SetClass("alert"),