From 15923ae7cd023740bc14e68605aa6576b1fb3cfc Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Wed, 4 Nov 2026 14:41:39 +0200 Subject: [PATCH] fix: set entity group owner only on create in customer view (cherry picked from commit 9440da3d023cb9c37267106af03e1e60c5e4734e) --- .../modules/home/components/group/entity-groups-table-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/group/entity-groups-table-config.ts b/ui-ngx/src/app/modules/home/components/group/entity-groups-table-config.ts index 5ce3fc9abd..be3ffd2313 100644 --- a/ui-ngx/src/app/modules/home/components/group/entity-groups-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/group/entity-groups-table-config.ts @@ -115,7 +115,7 @@ export class EntityGroupsTableConfig extends EntityTableConfig this.saveEntity = (entityGroup, originalEntityGroup) => { entityGroup.type = this.groupType; - if (this.customerId) { + if (this.customerId && !entityGroup.id) { entityGroup.ownerId = { entityType: EntityType.CUSTOMER, id: this.customerId