mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-24 23:28:32 +08:00
fix(web): Fix metadata modal component (#19573) (#19592)
This commit is contained in:
parent
b0166dbe27
commit
ccc3eeab10
@ -36,7 +36,7 @@ const CreateMetadataModal: FC<Props> = ({
|
|||||||
{trigger}
|
{trigger}
|
||||||
</PortalToFollowElemTrigger>
|
</PortalToFollowElemTrigger>
|
||||||
<PortalToFollowElemContent className='z-[1000]'>
|
<PortalToFollowElemContent className='z-[1000]'>
|
||||||
<CreateContent {...createContentProps} onClose={() => setOpen(false)} />
|
<CreateContent {...createContentProps} onClose={() => setOpen(false)} onBack={() => setOpen(false)} />
|
||||||
</PortalToFollowElemContent>
|
</PortalToFollowElemContent>
|
||||||
</PortalToFollowElem >
|
</PortalToFollowElem >
|
||||||
|
|
||||||
|
@ -71,6 +71,7 @@ const SelectMetadataModal: FC<Props> = ({
|
|||||||
onSave={handleSave}
|
onSave={handleSave}
|
||||||
hasBack
|
hasBack
|
||||||
onBack={() => setStep(Step.select)}
|
onBack={() => setStep(Step.select)}
|
||||||
|
onClose={() => setStep(Step.select)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</PortalToFollowElemContent>
|
</PortalToFollowElemContent>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user