feat: improve toasts
All checks were successful
Build Latest and dev images / build-container (push) Successful in 1m0s
All checks were successful
Build Latest and dev images / build-container (push) Successful in 1m0s
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
...options,
|
||||
data: current_scans,
|
||||
}));
|
||||
toast($_("scan-deleted"));
|
||||
toast.success($_("scan-deleted"));
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
|
||||
Reference in New Issue
Block a user