mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
fix(web): force render sandbox provider dialog backdrops
This commit is contained in:
parent
b5996085e1
commit
8843a62b4e
@ -154,7 +154,7 @@ function ConfigModal({ provider, onClose }: ConfigModalProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open onOpenChange={open => !open && onClose()}>
|
<Dialog open onOpenChange={open => !open && onClose()}>
|
||||||
<DialogContent className="w-[480px]">
|
<DialogContent backdropProps={{ forceRender: true }} className="w-[480px]">
|
||||||
<DialogCloseButton />
|
<DialogCloseButton />
|
||||||
|
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
|
|||||||
@ -39,7 +39,7 @@ const SwitchModal = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open onOpenChange={open => !open && onClose()}>
|
<Dialog open onOpenChange={open => !open && onClose()}>
|
||||||
<DialogContent className="w-[480px]">
|
<DialogContent backdropProps={{ forceRender: true }} className="w-[480px]">
|
||||||
<DialogCloseButton />
|
<DialogCloseButton />
|
||||||
<DialogTitle className="text-text-primary title-2xl-semi-bold">
|
<DialogTitle className="text-text-primary title-2xl-semi-bold">
|
||||||
{t('sandboxProvider.switchModal.title', { ns: 'common' })}
|
{t('sandboxProvider.switchModal.title', { ns: 'common' })}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user