Merge pull request #9126 from rusikv/bug/version-control-remove-other-entities-popover
Fix for 'remove other entities' popover in version control
This commit is contained in:
		
						commit
						e83aebead8
					
				@ -218,7 +218,7 @@ export class EntityTypesVersionLoadComponent extends PageComponent implements On
 | 
			
		||||
  onRemoveOtherEntities(removeOtherEntitiesCheckbox: MatCheckbox, entityTypeControl: AbstractControl) {
 | 
			
		||||
    const removeOtherEntities: boolean = entityTypeControl.get('config.removeOtherEntities').value;
 | 
			
		||||
    if (removeOtherEntities) {
 | 
			
		||||
      entityTypeControl.get('config').get('removeOtherEntities').patchValue(false, {emitEvent: false});
 | 
			
		||||
      entityTypeControl.get('config').get('removeOtherEntities').patchValue(false, {emitEvent: true});
 | 
			
		||||
      const trigger = $('.mdc-checkbox__background', removeOtherEntitiesCheckbox._elementRef.nativeElement)[0];
 | 
			
		||||
      if (this.popoverService.hasPopover(trigger)) {
 | 
			
		||||
        this.popoverService.hidePopover(trigger);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user