Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore update scripts to 67fefe06f6d4c78934d6132a6c3b911e86088015 #29

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 0 additions & 88 deletions .github/workflows/merge-template.yaml

This file was deleted.

11 changes: 10 additions & 1 deletion client/utilities/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,16 @@ export const notify = (data: StatusJson): Promise<void> => {
message: data.message,
show: true,
color: data.color,
bodyTextColor: 'white',
bodyTextColor: (() => {
switch (data.color) {
case 'warning':
return 'dark';
case 'info':
return 'dark';
default:
return 'white';
}
})(),
},
});

Expand Down
Loading