From 0d42741e3ad1a559e6c10a05083b785a2e559ebd Mon Sep 17 00:00:00 2001 From: rusikv Date: Wed, 23 Aug 2023 18:48:06 +0300 Subject: [PATCH] Fix for version control restore 'delete other entities' popover --- .../home/components/vc/entity-types-version-load.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/vc/entity-types-version-load.component.ts b/ui-ngx/src/app/modules/home/components/vc/entity-types-version-load.component.ts index 5405436f35..7ac0d2caa0 100644 --- a/ui-ngx/src/app/modules/home/components/vc/entity-types-version-load.component.ts +++ b/ui-ngx/src/app/modules/home/components/vc/entity-types-version-load.component.ts @@ -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);