Skip to content

Commit bea4493

Browse files
committed
chore: fix flow name flicker, keep edit on publish
1 parent 385c388 commit bea4493

File tree

1 file changed

+6
-8
lines changed
  • packages/frontend/src/components/EditorLayout

1 file changed

+6
-8
lines changed

packages/frontend/src/components/EditorLayout/index.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,12 @@ export default function EditorLayout() {
205205
</Box>
206206

207207
<Flex>
208-
{!loading && (
209-
<EditableInput
210-
value={flow?.name}
211-
onSave={onFlowNameUpdate}
212-
readOnly={isEditorReadOnly}
213-
width={isMobile ? '40%' : undefined}
214-
/>
215-
)}
208+
<EditableInput
209+
value={flow?.name}
210+
onSave={onFlowNameUpdate}
211+
readOnly={loading}
212+
width={isMobile ? '40%' : undefined}
213+
/>
216214
</Flex>
217215
</Flex>
218216

0 commit comments

Comments
 (0)