remove spinner when unlock fails
This commit is contained in:
		@@ -34,7 +34,6 @@
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        catch (e) {
 | 
			
		||||
            window.error = e;
 | 
			
		||||
            if (e.code === 'GetSession') {
 | 
			
		||||
                let root = getRootCause(e);
 | 
			
		||||
                errorMsg = `Error response from AWS (${root.code}): ${root.msg}`;
 | 
			
		||||
@@ -43,11 +42,12 @@
 | 
			
		||||
                errorMsg = e.msg;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            // if the alert already existed, shake it
 | 
			
		||||
            if (alert) {
 | 
			
		||||
                alert.shake();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            saving = true;
 | 
			
		||||
            saving = false;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user