From f5eb406394cfa054b20ac3934cbb95f4f2bcde7e Mon Sep 17 00:00:00 2001 From: lyzno1 Date: Thu, 30 Oct 2025 17:58:31 +0800 Subject: [PATCH] fix: types --- web/app/components/base/form/components/field/select.tsx | 4 +++- .../plugins/plugin-auth/authorize/api-key-modal.tsx | 4 +++- .../plugins/plugin-auth/authorize/oauth-client-settings.tsx | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/web/app/components/base/form/components/field/select.tsx b/web/app/components/base/form/components/field/select.tsx index dee047e2eb..8a36a49510 100644 --- a/web/app/components/base/form/components/field/select.tsx +++ b/web/app/components/base/form/components/field/select.tsx @@ -11,7 +11,9 @@ type SelectFieldProps = { options: Option[] onChange?: (value: string) => void className?: string -} & Omit +} & Omit & { + multiple?: false +} const SelectField = ({ label, diff --git a/web/app/components/plugins/plugin-auth/authorize/api-key-modal.tsx b/web/app/components/plugins/plugin-auth/authorize/api-key-modal.tsx index 51c4f65604..cb90b075b0 100644 --- a/web/app/components/plugins/plugin-auth/authorize/api-key-modal.tsx +++ b/web/app/components/plugins/plugin-auth/authorize/api-key-modal.tsx @@ -144,7 +144,9 @@ const ApiKeyModal = ({ clickOutsideNotClose={true} wrapperClassName='!z-[101]' > - + {pluginPayload.detail && ( + + )} { isLoading && (
diff --git a/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx b/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx index c1c44928b3..256f6d0f4b 100644 --- a/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx +++ b/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx @@ -160,7 +160,9 @@ const OAuthClientSettings = ({ wrapperClassName='!z-[101]' clickOutsideNotClose={true} > - + {pluginPayload.detail && ( + + )}