feat: improve toasts
Build Latest and dev images / build-container (push) Successful in 1m0s

This commit is contained in:
philipp committed 2025-03-28 11:44:10 +01:00
1 parent e7a69ebdca
commit 481f6b686e
23 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@
function deleteScan() {
ScanService.scanControllerRemove(original_data.id, false)
.then((resp) => {
toast($_("deleted-scan"));
toast.success($_("deleted-scan"));
location.replace("./");
})
.catch((err) => {
+1 -1
View File
@@ -174,7 +174,7 @@
...options,
data: current_scans,
}));
toast($_("scan-deleted"));
toast.success($_("scan-deleted"));
}
onMount(async () => {