mirror of
https://github.com/zadam/trilium.git
synced 2025-12-06 23:44:25 +01:00
fix(toast): icon missing for error messages
This commit is contained in:
parent
7e2e1c12b9
commit
aac9d2d1c4
@ -97,7 +97,7 @@ export function showError(message: string, delay = 10000) {
|
||||
console.log(utils.now(), "error: ", message);
|
||||
|
||||
toast({
|
||||
icon: "alert",
|
||||
icon: "bx bx-error-circle",
|
||||
message: message,
|
||||
autohide: true,
|
||||
delay
|
||||
@ -109,7 +109,7 @@ function showErrorTitleAndMessage(title: string, message: string, delay = 10000)
|
||||
|
||||
toast({
|
||||
title: title,
|
||||
icon: "alert",
|
||||
icon: "bx bx-error-circle",
|
||||
message: message,
|
||||
autohide: true,
|
||||
delay
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user