Skip to content

Commit

Permalink
Fix the warning count label color for events
Browse files Browse the repository at this point in the history
  • Loading branch information
maksis committed Jul 4, 2024
1 parent 1261d59 commit a4b4f94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/stores/decorators/__tests__/MessageStore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('message store', () => {

const data = checkUnreadSessionInfo(chatSessionUnread, setRead);

expect(setRead).toBeCalled();
expect(setRead).toHaveBeenCalled();
expect(data).toEqual({
message_counts: {
total: 5,
Expand Down
9 changes: 3 additions & 6 deletions src/types/ui/urgencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ export const enum UrgencyEnum {
LOW = 1,
HIDDEN = 0, // 0 = hidden

// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
ERROR = 6,
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
WARNING = 4,
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
INFO = 1,
ERROR = 7,
WARNING = 5,
INFO = 2,
// VERBOSE = 0, // 0 = hidden
}

Expand Down

0 comments on commit a4b4f94

Please sign in to comment.