limpiar strings
This commit is contained in:
		
							parent
							
								
									7d0bf63b22
								
							
						
					
					
						commit
						19620aabcc
					
				| 
						 | 
				
			
			@ -89,7 +89,7 @@ const GuardasSeguridad = () => {
 | 
			
		|||
      }
 | 
			
		||||
    }).then((response) => {
 | 
			
		||||
      if (response.status != 201)
 | 
			
		||||
        console.log('Ocurrió un error con el servicio: ' + response.status);
 | 
			
		||||
        console.log(`Ocurrió un error con el servicio: ${response.status}`);
 | 
			
		||||
      else
 | 
			
		||||
        return response.json();
 | 
			
		||||
    }).then(() => {
 | 
			
		||||
| 
						 | 
				
			
			@ -121,10 +121,10 @@ const GuardasSeguridad = () => {
 | 
			
		|||
      }
 | 
			
		||||
    }).then((response) => {
 | 
			
		||||
      if (response.status != 201)
 | 
			
		||||
        console.log('Ocurrió un error con el servicio: ' + response.status);
 | 
			
		||||
        console.log(`Ocurrió un error con el servicio: ${response.status}`);
 | 
			
		||||
      else
 | 
			
		||||
        return response.json();
 | 
			
		||||
    }).then((response) => {
 | 
			
		||||
    }).then(() => {
 | 
			
		||||
      setChangeStatusGuardDialog(false);
 | 
			
		||||
      toast.current.show({
 | 
			
		||||
        severity: 'success',
 | 
			
		||||
| 
						 | 
				
			
			@ -147,7 +147,7 @@ const GuardasSeguridad = () => {
 | 
			
		|||
      }
 | 
			
		||||
    }).then((response) => {
 | 
			
		||||
      if (response.status != 201)
 | 
			
		||||
        console.log('Ocurrió un error con el servicio: ' + response.status);
 | 
			
		||||
        console.log(`Ocurrió un error con el servicio: ${response.status}`);
 | 
			
		||||
      else
 | 
			
		||||
        return response.json();
 | 
			
		||||
    }).then(function() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue