mirror of
https://github.com/woodchen-ink/certimate.git
synced 2025-07-18 17:31:55 +08:00
Fix the issue where the deployment type could not be selected
This commit is contained in:
parent
16967c4ab1
commit
55b77fdf5c
@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Certimate - Your Trusted SSL Automation Partner</title>
|
<title>Certimate - Your Trusted SSL Automation Partner</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-background">
|
<body class="bg-background" style="pointer-events: auto !important">
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script type="module" src="/src/main.tsx"></script>
|
<script type="module" src="/src/main.tsx"></script>
|
||||||
</body>
|
</body>
|
||||||
|
@ -195,7 +195,16 @@ const AccessEditDialog = ({ trigger, op, data, className }: AccessEditProps) =>
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog onOpenChange={setOpen} open={open} modal={false}>
|
<Dialog
|
||||||
|
onOpenChange={(openState) => {
|
||||||
|
if (openState) {
|
||||||
|
document.body.style.pointerEvents = "auto";
|
||||||
|
}
|
||||||
|
setOpen(openState);
|
||||||
|
}}
|
||||||
|
open={open}
|
||||||
|
modal={false}
|
||||||
|
>
|
||||||
<DialogTrigger asChild className={cn(className)}>
|
<DialogTrigger asChild className={cn(className)}>
|
||||||
{trigger}
|
{trigger}
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
|
@ -179,7 +179,12 @@ const DeployEditDialog = ({ trigger, deployConfig, onSave }: DeployEditDialogPro
|
|||||||
>
|
>
|
||||||
<Dialog open={open} onOpenChange={setOpen}>
|
<Dialog open={open} onOpenChange={setOpen}>
|
||||||
<DialogTrigger>{trigger}</DialogTrigger>
|
<DialogTrigger>{trigger}</DialogTrigger>
|
||||||
<DialogContent className="dark:text-stone-200">
|
<DialogContent
|
||||||
|
className="dark:text-stone-200"
|
||||||
|
onInteractOutside={(event) => {
|
||||||
|
event.preventDefault();
|
||||||
|
}}
|
||||||
|
>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{t("domain.deployment.tab")}</DialogTitle>
|
<DialogTitle>{t("domain.deployment.tab")}</DialogTitle>
|
||||||
<DialogDescription></DialogDescription>
|
<DialogDescription></DialogDescription>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user