fix(frontend):Prevent record type select dropdown from opening when viewing a workflow version (#12495)
Closes #12003 https://github.com/user-attachments/assets/07561cf6-a45d-4f7e-815e-550421d1bd9f
This commit is contained in:
@ -198,7 +198,8 @@ export const WorkflowEditTriggerDatabaseEventForm = ({
|
||||
}
|
||||
dropdownComponents={
|
||||
<>
|
||||
{isSystemObjectsOpen ? (
|
||||
{!triggerOptions.readonly &&
|
||||
(isSystemObjectsOpen ? (
|
||||
<DropdownContent>
|
||||
<DropdownMenuHeader
|
||||
StartComponent={
|
||||
@ -257,7 +258,7 @@ export const WorkflowEditTriggerDatabaseEventForm = ({
|
||||
)}
|
||||
</DropdownMenuItemsContainer>
|
||||
</DropdownContent>
|
||||
)}
|
||||
))}
|
||||
</>
|
||||
}
|
||||
dropdownHotkeyScope={{ scope: SelectHotkeyScope.Select }}
|
||||
|
||||
Reference in New Issue
Block a user