diff --git a/ui/src/components/certimate/AccessAliyunForm.tsx b/ui/src/components/certimate/AccessAliyunForm.tsx index 9ce87a47..f64800b5 100644 --- a/ui/src/components/certimate/AccessAliyunForm.tsx +++ b/ui/src/components/certimate/AccessAliyunForm.tsx @@ -98,98 +98,96 @@ const AccessAliyunForm = ({ data, op, onAfterReq }: AccessAliyunFormProps) => { return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.access_key_id.label")} - - - + ( + + {t("access.authorization.form.access_key_id.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.access_key_secret.label")} - - - + ( + + {t("access.authorization.form.access_key_secret.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessAwsForm.tsx b/ui/src/components/certimate/AccessAwsForm.tsx index a688dd8e..9baac3c7 100644 --- a/ui/src/components/certimate/AccessAwsForm.tsx +++ b/ui/src/components/certimate/AccessAwsForm.tsx @@ -111,128 +111,126 @@ const AccessAwsForm = ({ data, op, onAfterReq }: AccessAwsFormProps) => { return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.region.label")} - - - + ( + + {t("access.authorization.form.region.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.access_key_id.label")} - - - + ( + + {t("access.authorization.form.access_key_id.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.secret_access_key.label")} - - - + ( + + {t("access.authorization.form.secret_access_key.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.aws_hosted_zone_id.label")} - - - + ( + + {t("access.authorization.form.aws_hosted_zone_id.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessCloudflareForm.tsx b/ui/src/components/certimate/AccessCloudflareForm.tsx index c167875b..4451dbad 100644 --- a/ui/src/components/certimate/AccessCloudflareForm.tsx +++ b/ui/src/components/certimate/AccessCloudflareForm.tsx @@ -88,81 +88,79 @@ const AccessCloudflareForm = ({ data, op, onAfterReq }: AccessCloudflareFormProp return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.cloud_dns_api_token.label")} - - - + ( + + {t("access.authorization.form.cloud_dns_api_token.label")} + + + - - - )} - /> + + + )} + /> -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessEdit.tsx b/ui/src/components/certimate/AccessEditDialog.tsx similarity index 94% rename from ui/src/components/certimate/AccessEdit.tsx rename to ui/src/components/certimate/AccessEditDialog.tsx index 6d589cee..caae5ab1 100644 --- a/ui/src/components/certimate/AccessEdit.tsx +++ b/ui/src/components/certimate/AccessEditDialog.tsx @@ -29,7 +29,7 @@ type AccessEditProps = { data?: Access; }; -const AccessEdit = ({ trigger, op, data, className }: AccessEditProps) => { +const AccessEditDialog = ({ trigger, op, data, className }: AccessEditProps) => { const [open, setOpen] = useState(false); const { t } = useTranslation(); @@ -139,16 +139,16 @@ const AccessEdit = ({ trigger, op, data, className }: AccessEditProps) => { ); break; case "httpreq": - form = ( - { - setOpen(false); - }} - /> - ); - break; + form = ( + { + setOpen(false); + }} + /> + ); + break; case "local": form = ( { - {form} +
{form}
@@ -246,4 +246,4 @@ const AccessEdit = ({ trigger, op, data, className }: AccessEditProps) => { ); }; -export default AccessEdit; +export default AccessEditDialog; diff --git a/ui/src/components/certimate/AccessGodaddyForm.tsx b/ui/src/components/certimate/AccessGodaddyForm.tsx index a550af38..99484d4a 100644 --- a/ui/src/components/certimate/AccessGodaddyForm.tsx +++ b/ui/src/components/certimate/AccessGodaddyForm.tsx @@ -95,96 +95,94 @@ const AccessGodaddyForm = ({ data, op, onAfterReq }: AccessGodaddyFormProps) => return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.godaddy_api_key.label")} - - - + ( + + {t("access.authorization.form.godaddy_api_key.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.godaddy_api_secret.label")} - - - + ( + + {t("access.authorization.form.godaddy_api_secret.label")} + + + - - - )} - /> + + + )} + /> -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessHttpreqForm.tsx b/ui/src/components/certimate/AccessHttpreqForm.tsx index b4120695..2eb63bea 100644 --- a/ui/src/components/certimate/AccessHttpreqForm.tsx +++ b/ui/src/components/certimate/AccessHttpreqForm.tsx @@ -29,8 +29,7 @@ const AccessHttpreqForm = ({ data, op, onAfterReq }: AccessHttpreqFormProps) => .max(64, t("common.errmsg.string_max", { max: 64 })), configType: accessFormType, endpoint: z.string().url("common.errmsg.url_invalid"), - mode: z - .enum(["RAW", ""]), + mode: z.enum(["RAW", ""]), username: z .string() .min(1, "access.authorization.form.access_key_secret.placeholder") @@ -104,134 +103,131 @@ const AccessHttpreqForm = ({ data, op, onAfterReq }: AccessHttpreqFormProps) => return; } }; - const i18n_prefix = "access.authorization.form.httpreq"; + return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t(i18n_prefix + "_endpoint.label")} - - - + ( + + {t("access.authorization.form.httpreq_endpoint.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t(i18n_prefix + "_mode.label")} - - - + ( + + {t("access.authorization.form.httpreq_mode.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.username.label")} - - - + ( + + {t("access.authorization.form.username.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.password.label")} - - - + ( + + {t("access.authorization.form.password.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; export default AccessHttpreqForm; - diff --git a/ui/src/components/certimate/AccessHuaweicloudForm.tsx b/ui/src/components/certimate/AccessHuaweicloudForm.tsx index 41e4b165..01b49317 100644 --- a/ui/src/components/certimate/AccessHuaweicloudForm.tsx +++ b/ui/src/components/certimate/AccessHuaweicloudForm.tsx @@ -104,113 +104,111 @@ const AccessHuaweiCloudForm = ({ data, op, onAfterReq }: AccessHuaweiCloudFormPr return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.region.label")} - - - + ( + + {t("access.authorization.form.region.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.access_key_id.label")} - - - + ( + + {t("access.authorization.form.access_key_id.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.secret_access_key.label")} - - - + ( + + {t("access.authorization.form.secret_access_key.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessKubernetesForm.tsx b/ui/src/components/certimate/AccessKubernetesForm.tsx index a088cb99..7939783a 100644 --- a/ui/src/components/certimate/AccessKubernetesForm.tsx +++ b/ui/src/components/certimate/AccessKubernetesForm.tsx @@ -113,81 +113,79 @@ const AccessKubernetesForm = ({ data, op, onAfterReq }: AccessKubernetesFormProp return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-3" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-3" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - + )} + /> - ( - - {t("access.authorization.form.k8s_kubeconfig.label")} - -
- - -
-
+ ( + + {t("access.authorization.form.k8s_kubeconfig.label")} + +
+ + +
+
- -
- )} - /> + +
+ )} + /> - + -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessLocalForm.tsx b/ui/src/components/certimate/AccessLocalForm.tsx index f80512f6..300ac453 100644 --- a/ui/src/components/certimate/AccessLocalForm.tsx +++ b/ui/src/components/certimate/AccessLocalForm.tsx @@ -82,68 +82,66 @@ const AccessLocalForm = ({ data, op, onAfterReq }: AccessLocalFormProps) => { return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-3" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-3" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessNamesiloForm.tsx b/ui/src/components/certimate/AccessNamesiloForm.tsx index 0a1bb4ee..f87f2a6a 100644 --- a/ui/src/components/certimate/AccessNamesiloForm.tsx +++ b/ui/src/components/certimate/AccessNamesiloForm.tsx @@ -88,81 +88,79 @@ const AccessNamesiloForm = ({ data, op, onAfterReq }: AccessNamesiloFormProps) = return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.namesilo_api_key.label")} - - - + ( + + {t("access.authorization.form.namesilo_api_key.label")} + + + - - - )} - /> + + + )} + /> -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessPdnsForm.tsx b/ui/src/components/certimate/AccessPdnsForm.tsx index a3c0813f..e5aa5c7a 100644 --- a/ui/src/components/certimate/AccessPdnsForm.tsx +++ b/ui/src/components/certimate/AccessPdnsForm.tsx @@ -95,101 +95,98 @@ const AccessPdnsForm = ({ data, op, onAfterReq }: AccessPdnsFormProps) => { return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.pdns_api_url.label")} - - - + ( + + {t("access.authorization.form.pdns_api_url.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.pdns_api_key.label")} - - - + ( + + {t("access.authorization.form.pdns_api_key.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; export default AccessPdnsForm; - diff --git a/ui/src/components/certimate/AccessQiniuForm.tsx b/ui/src/components/certimate/AccessQiniuForm.tsx index 7d872027..cff0e5db 100644 --- a/ui/src/components/certimate/AccessQiniuForm.tsx +++ b/ui/src/components/certimate/AccessQiniuForm.tsx @@ -91,98 +91,96 @@ const AccessQiniuForm = ({ data, op, onAfterReq }: AccessQiniuFormProps) => { return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.access_key.label")} - - - + ( + + {t("access.authorization.form.access_key.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.secret_key.label")} - - - + ( + + {t("access.authorization.form.secret_key.label")} + + + - - - )} - /> + + + )} + /> - + -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessSSHForm.tsx b/ui/src/components/certimate/AccessSSHForm.tsx index 4151d341..852093c6 100644 --- a/ui/src/components/certimate/AccessSSHForm.tsx +++ b/ui/src/components/certimate/AccessSSHForm.tsx @@ -193,84 +193,113 @@ const AccessSSHForm = ({ data, op, onAfterReq }: AccessSSHFormProps) => { return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-3" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-3" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - -
{t("access.authorization.form.ssh_group.label")}
- - - {t("common.add")} -
- } - /> - - - { + form.setValue("group", value); + }} + > + + + + + +
--
+
+ {accessGroups.map((item) => ( + +
{item.name}
- {accessGroups.map((item) => ( - -
{item.name}
-
- ))} -
- -
+ ))} + + + - - - )} - /> + + + )} + /> + ( + + {t("access.authorization.form.config.label")} + + + + + + + )} + /> + + ( + + {t("access.authorization.form.config.label")} + + + + + + + )} + /> +
( - - {t("access.authorization.form.config.label")} + + {t("access.authorization.form.ssh_host.label")} - + @@ -280,146 +309,115 @@ const AccessSSHForm = ({ data, op, onAfterReq }: AccessSSHFormProps) => { ( - - {t("access.authorization.form.config.label")} - - - - - - - )} - /> -
- ( - - {t("access.authorization.form.ssh_host.label")} - - - - - - - )} - /> - - ( - - {t("access.authorization.form.ssh_port.label")} - - - - - - - )} - /> -
- - ( - {t("access.authorization.form.ssh_username.label")} + {t("access.authorization.form.ssh_port.label")} - + )} /> +
- ( - - {t("access.authorization.form.ssh_password.label")} - - - + ( + + {t("access.authorization.form.ssh_username.label")} + + + - - - )} - /> + + + )} + /> - ( - + )} + /> - ( - - {t("access.authorization.form.ssh_key.label")} - -
- - -
-
+ ( + - )} - /> + +
+ )} + /> - ( - - {t("access.authorization.form.ssh_key_passphrase.label")} - - - + ( + + {t("access.authorization.form.ssh_key.label")} + +
+ + +
+
- -
- )} - /> + +
+ )} + /> - + ( + + {t("access.authorization.form.ssh_key_passphrase.label")} + + + -
- -
- - - + +
+ )} + /> + + + +
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessTencentForm.tsx b/ui/src/components/certimate/AccessTencentForm.tsx index 0e47fdde..805b1d77 100644 --- a/ui/src/components/certimate/AccessTencentForm.tsx +++ b/ui/src/components/certimate/AccessTencentForm.tsx @@ -95,96 +95,94 @@ const AccessTencentForm = ({ data, op, onAfterReq }: AccessTencentFormProps) => return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.secret_id.label")} - - - + ( + + {t("access.authorization.form.secret_id.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.secret_key.label")} - - - + ( + + {t("access.authorization.form.secret_key.label")} + + + - - - )} - /> + + + )} + /> -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/AccessWebhookForm.tsx b/ui/src/components/certimate/AccessWebhookForm.tsx index 6cde4c59..ef1c2f73 100644 --- a/ui/src/components/certimate/AccessWebhookForm.tsx +++ b/ui/src/components/certimate/AccessWebhookForm.tsx @@ -85,81 +85,79 @@ const AccessWebhookForm = ({ data, op, onAfterReq }: AccessWebhookFormProps) => return ( <> -
-
- { - e.stopPropagation(); - form.handleSubmit(onSubmit)(e); - }} - className="space-y-8" - > - ( - - {t("access.authorization.form.name.label")} - - - + + { + e.stopPropagation(); + form.handleSubmit(onSubmit)(e); + }} + className="space-y-8" + > + ( + + {t("access.authorization.form.name.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.config.label")} - - - + ( + + {t("access.authorization.form.config.label")} + + + - - - )} - /> + + + )} + /> - ( - - {t("access.authorization.form.webhook_url.label")} - - - + ( + + {t("access.authorization.form.webhook_url.label")} + + + - - - )} - /> + + + )} + /> -
- -
- - -
+
+ +
+ + ); }; diff --git a/ui/src/components/certimate/DeployList.tsx b/ui/src/components/certimate/DeployList.tsx index 6c3caf71..4a7d76c2 100644 --- a/ui/src/components/certimate/DeployList.tsx +++ b/ui/src/components/certimate/DeployList.tsx @@ -13,7 +13,7 @@ import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Textarea } from "@/components/ui/textarea"; -import AccessEdit from "./AccessEdit"; +import AccessEditDialog from "./AccessEditDialog"; import KVList from "./KVList"; import { DeployConfig, KVType, targetTypeKeys, targetTypeMap } from "@/domain/domain"; import { accessTypeMap } from "@/domain/access"; @@ -365,7 +365,7 @@ const DeployEditDialog = ({ trigger, deployConfig, onSave }: DeployEditDialogPro