Fixed "[0] of undefined" server issue
This commit is contained in:
		
							parent
							
								
									ecd412c6f6
								
							
						
					
					
						commit
						4d024883bc
					
				@ -675,7 +675,7 @@ module.exports = function (Y/* :any */) {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        if (this.store.forwardAppliedOperations) {
 | 
					        if (this.store.forwardAppliedOperations) {
 | 
				
			||||||
          var ops = []
 | 
					          var ops = []
 | 
				
			||||||
          ops.push({struct: 'Delete', target: [d[0], d[1]], length: del[2]})
 | 
					          ops.push({struct: 'Delete', target: [del[0], del[1]], length: del[2]})
 | 
				
			||||||
          this.store.y.connector.broadcastOps(ops)
 | 
					          this.store.y.connector.broadcastOps(ops)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user