File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed 
frontend/javascripts/viewer/model/sagas/saving Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ type MutexLogicState = {
2727} ; 
2828
2929export  function *  acquireAnnotationMutexMaybe ( ) : Saga < void >  { 
30+   // todop 
31+   return ; 
3032  yield *  call ( ensureWkReady ) ; 
3133  const  allowUpdate  =  yield *  select ( ( state )  =>  state . annotation . restrictions . allowUpdate ) ; 
3234  if  ( ! allowUpdate )  { 
Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ function* watchForSaveConflicts(): Saga<void> {
5151      ( state )  => 
5252        state . annotation . restrictions . allowSave  &&  state . annotation . restrictions . allowUpdate , 
5353    ) ; 
54-     if  ( allowSave )  { 
54+ 
55+     // todop 
56+     if  ( false  &&  allowSave )  { 
5557      // The active user is currently the only one that is allowed to mutate the annotation. 
5658      // Since we only acquire the mutex upon page load, there shouldn't be any unseen updates 
5759      // between the page load and this check here. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments