Fix typo in Unread.union
This commit is contained in:
4
state.js
4
state.js
@@ -15,9 +15,9 @@ export const Unread = {
|
|||||||
MESSAGE: "message",
|
MESSAGE: "message",
|
||||||
HIGHLIGHT: "highlight",
|
HIGHLIGHT: "highlight",
|
||||||
|
|
||||||
union: (a, b) => {
|
union(a, b) {
|
||||||
const priority = {
|
const priority = {
|
||||||
[Unread.None]: 0,
|
[Unread.NONE]: 0,
|
||||||
[Unread.MESSAGE]: 1,
|
[Unread.MESSAGE]: 1,
|
||||||
[Unread.HIGHLIGHT]: 2,
|
[Unread.HIGHLIGHT]: 2,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user