Do not hide notification behind message bar
This commit is contained in:
		
							parent
							
								
									2cd7839da3
								
							
						
					
					
						commit
						4a5f34801a
					
				
					 4 changed files with 42 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -37,11 +37,15 @@ class Api {
 | 
			
		|||
            message: message,
 | 
			
		||||
            ...options
 | 
			
		||||
        };
 | 
			
		||||
        await fetch(baseUrl, {
 | 
			
		||||
        const response = await fetch(baseUrl, {
 | 
			
		||||
            method: 'PUT',
 | 
			
		||||
            body: JSON.stringify(body),
 | 
			
		||||
            headers: maybeWithBasicAuth(headers, user)
 | 
			
		||||
        });
 | 
			
		||||
        if (response.status < 200 || response.status > 299) {
 | 
			
		||||
            throw new Error(`Unexpected response: ${response.status}`);
 | 
			
		||||
        }
 | 
			
		||||
        return response;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue