Skip to content
Merged
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
5 changes: 3 additions & 2 deletions front/src/ctfnote/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export function useNotify() {
position: 'top-right',
color: 'positive',
timeout: 2500,
actions: [{ icon: 'close', color: 'white', dense: true, round: true }],
...opts,
});
return true;
Expand All @@ -36,7 +37,7 @@ export function useNotify() {
$q.notify({
position: 'top',
color: 'negative',
actions: [{ icon: 'close', color: 'white', dense: true }],
actions: [{ icon: 'close', color: 'white', dense: true, round: true }],
icon: 'error',
timeout: 2500,
message,
Expand Down Expand Up @@ -66,7 +67,7 @@ export function useNotify() {
try {
new Notification(opts.message, {
icon: `${document.location.origin}/favicon.ico`,
});
});
return;
} catch {
disableSystemNotification();
Expand Down