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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user