forked from coracle/flotilla
Remove comments and test lines
This commit is contained in:
@@ -65,7 +65,6 @@ export const notifications = derived(
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// can update to tuple of (path, event_type) if later filtering is desired
|
|
||||||
const paths = new Set<string>()
|
const paths = new Set<string>()
|
||||||
|
|
||||||
for (const {pubkeys, messages} of $chats) {
|
for (const {pubkeys, messages} of $chats) {
|
||||||
@@ -156,14 +155,11 @@ export const notifications = derived(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
paths.add("pls")
|
|
||||||
|
|
||||||
return paths
|
return paths
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
export const badgeCount = derived(notifications, notifications => {
|
export const badgeCount = derived(notifications, notifications => {
|
||||||
// do filtering as desired?
|
|
||||||
return notifications.size
|
return notifications.size
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user