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

This commit is contained in:
2025-03-28 11:44:10 +01:00
parent e7a69ebdca
commit 481f6b686e
23 changed files with 25 additions and 25 deletions
@@ -15,7 +15,7 @@
function deleteStation() {
ScanStationService.scanStationControllerRemove(delete_station.id, true)
.then((resp) => {
toast($_("station-deleted"));
toast.success($_("station-deleted"));
location.replace("./");
})
.catch((err) => {});
@@ -49,7 +49,7 @@
function deleteStation() {
ScanStationService.scanStationControllerRemove(original_data.id, false)
.then((resp) => {
toast($_("station-deleted"));
toast.success($_("station-deleted"));
location.replace("./");
})
.catch((err) => {
@@ -165,7 +165,7 @@
current_stations = current_stations.filter(
(obj) => obj.id !== s.id
);
toast($_("station-deleted"));
toast.success($_("station-deleted"));
})
.catch((err) => {
modal_open = true;