Fix typo in Unread.union

This commit is contained in:
Simon Ser 2021-05-27 22:35:41 +02:00
parent 06f7651bef
commit 558548e6f7

View file

@ -15,9 +15,9 @@ export const Unread = {
MESSAGE: "message",
HIGHLIGHT: "highlight",
union: (a, b) => {
union(a, b) {
const priority = {
[Unread.None]: 0,
[Unread.NONE]: 0,
[Unread.MESSAGE]: 1,
[Unread.HIGHLIGHT]: 2,
};