UI: Fixed not detect delete js module
This commit is contained in:
		
							parent
							
								
									509ff28f2e
								
							
						
					
					
						commit
						d06bac8bf2
					
				@ -119,6 +119,7 @@ export class JsFuncModulesComponent implements OnInit {
 | 
			
		||||
 | 
			
		||||
  removeModule(index: number, emitEvent = true) {
 | 
			
		||||
    (this.modulesFormGroup.get('modules') as UntypedFormArray).removeAt(index, {emitEvent});
 | 
			
		||||
    this.modulesFormGroup.get('modules').markAsDirty({emitEvent});
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  addModule() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user