Skip to content

Commit 551f2c1

Browse files
committed
1807 - client -Mention is set to false when File_ENTRY
1 parent 785cf99 commit 551f2c1

File tree

1 file changed

+4
-4
lines changed
  • client/src/pages/platform/workflow-editor/components/Properties

1 file changed

+4
-4
lines changed

client/src/pages/platform/workflow-editor/components/Properties/Property.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -548,10 +548,6 @@ const Property = ({
548548
return;
549549
}
550550

551-
if (!formState && controlType !== 'SELECT' && controlType === 'FILE_ENTRY') {
552-
setMentionInput(true);
553-
}
554-
555551
if (propertyParameterValue) {
556552
setMentionInput(false);
557553

@@ -565,6 +561,10 @@ const Property = ({
565561
}
566562
}
567563

564+
if (!formState && controlType !== 'SELECT' && controlType === 'FILE_ENTRY') {
565+
setMentionInput(true);
566+
}
567+
568568
if (controlType === 'SELECT' || controlType === 'JSON_SCHEMA_BUILDER' || controlType === 'OBJECT_BUILDER') {
569569
if (
570570
propertyParameterValue &&

0 commit comments

Comments
 (0)