Commit 2c911374 by Archer Committed by GitHub

fix: fe (#5471)

parent d21d1e23
......@@ -155,6 +155,7 @@ const Header = () => {
size={'xs'}
w={'1rem'}
variant={'ghost'}
onClick={isSaved ? onBack : onOpenBackConfirm}
/>
</Box>
......@@ -214,9 +215,11 @@ const Header = () => {
isPc,
currentTab,
isSaved,
onBack,
onOpenBackConfirm,
isV2Workflow,
t,
showHistoryModal,
t,
loading,
onClickSave,
setShowHistoryModal,
......
......@@ -155,6 +155,7 @@ const Header = () => {
size={'xs'}
w={'1rem'}
variant={'ghost'}
onClick={isSaved ? onBack : onOpenBackConfirm}
/>
</Box>
......@@ -214,9 +215,11 @@ const Header = () => {
isPc,
currentTab,
isSaved,
onBack,
onOpenBackConfirm,
isV2Workflow,
t,
showHistoryModal,
t,
loading,
onClickSave,
setShowHistoryModal,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment