diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts b/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts index cc4a100b2b..69c0a35fb5 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts @@ -263,7 +263,7 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig { + calculatedField.configuration.arguments = Object.keys(calculatedField.configuration.arguments).reduce((acc, key) => { const arg = calculatedField.configuration.arguments[key]; acc[key] = arg.refEntityId?.entityType === ArgumentEntityType.Tenant ? { ...arg, refEntityId: { id: this.tenantId, entityType: ArgumentEntityType.Tenant } } @@ -271,10 +271,7 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig