diff --git a/ui-ngx/src/app/modules/home/components/rule-node/action/create-relation-config.component.ts b/ui-ngx/src/app/modules/home/components/rule-node/action/create-relation-config.component.ts index ceefb9ba55..1a1e611037 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/action/create-relation-config.component.ts +++ b/ui-ngx/src/app/modules/home/components/rule-node/action/create-relation-config.component.ts @@ -81,7 +81,7 @@ export class CreateRelationConfigComponent extends RuleNodeConfigurationComponen protected updateValidators(emitEvent: boolean) { const entityType: EntityType = this.createRelationConfigForm.get('entityType').value; - if (entityType) { + if (entityType && entityType !== EntityType.TENANT) { this.createRelationConfigForm.get('entityNamePattern').setValidators([Validators.required, Validators.pattern(/.*\S.*/)]); } else { this.createRelationConfigForm.get('entityNamePattern').setValidators([]);