show a notification regardless if the server returned data or not

This commit is contained in:
Jacob Overgaard
2023-07-28 12:33:14 +02:00
parent 22f23b405a
commit aa9e41cfa1

View File

@@ -197,7 +197,9 @@ export class UmbUserRepository
if (data) {
this.#detailStore?.append(data);
}
if (!error) {
const notification = { data: { message: this.#labels.userEditSaved } };
this.#notificationContext?.peek('positive', notification);
}