From 7e2e1c12b9f0af1431d8ae0eaf6cc6b61af2778e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 5 Dec 2025 11:42:56 +0200 Subject: [PATCH] chore(widgets): fix error icon in toast & improve message reporting --- apps/client/src/widgets/basic_widget.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/basic_widget.ts b/apps/client/src/widgets/basic_widget.ts index db1a31f70..1c7554348 100644 --- a/apps/client/src/widgets/basic_widget.ts +++ b/apps/client/src/widgets/basic_widget.ts @@ -174,11 +174,11 @@ export class TypedBasicWidget> extends TypedCompon froca.getNote(noteId, true).then((note) => { toastService.showPersistent({ title: t("toast.widget-error.title"), - icon: "alert", + icon: "bx bx-error-circle", message: t("toast.widget-error.message-custom", { id: noteId, title: note?.title, - message: e.message + message: e.message || e.toString() }) }); }); @@ -187,9 +187,9 @@ export class TypedBasicWidget> extends TypedCompon toastService.showPersistent({ title: t("toast.widget-error.title"), - icon: "alert", + icon: "bx bx-error-circle", message: t("toast.widget-error.message-unknown", { - message: e.message + message: e.message || e.toString() }) }); }