diff --git a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts index 68e4ccc41e..72efaf8d45 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts +++ b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts @@ -58,7 +58,7 @@ export abstract class EntityComponent, } get isAdd(): boolean { - return this.entityValue && !this.entityValue.id; + return this.entityValue && (!this.entityValue.id || !this.entityValue.id.id); } @Input()