diff --git a/ui/src/components/access/forms/AccessConfigFieldsProviderSSH.tsx b/ui/src/components/access/forms/AccessConfigFieldsProviderSSH.tsx index 3f32228a7..d111f38c8 100644 --- a/ui/src/components/access/forms/AccessConfigFieldsProviderSSH.tsx +++ b/ui/src/components/access/forms/AccessConfigFieldsProviderSSH.tsx @@ -50,13 +50,11 @@ const AccessConfigFormFieldsProviderSSH = ({ disabled }: { disabled?: boolean }) label={t("access.form.ssh_auth_method.label")} rules={[formRule]} > - ({ - key: s, - label: t(`access.form.ssh_auth_method.option.${s}.label`), - value: s, - }))} - /> + + {t("access.form.ssh_auth_method.option.none.label")} + {t("access.form.ssh_auth_method.option.password.label")} + {t("access.form.ssh_auth_method.option.key.label")} + diff --git a/ui/src/components/workflow/WorkflowGraphExportBox.tsx b/ui/src/components/workflow/WorkflowGraphExportBox.tsx index 06a8c74c7..8d5b18ab4 100644 --- a/ui/src/components/workflow/WorkflowGraphExportBox.tsx +++ b/ui/src/components/workflow/WorkflowGraphExportBox.tsx @@ -111,13 +111,9 @@ const WorkflowGraphExportBox = ({ className, style, data }: WorkflowGraphExportB return (
- setFormat(e.target.value)}> - - YAML - - - JSON - + setFormat(e.target.value)}> + YAML + JSON diff --git a/ui/src/components/workflow/WorkflowGraphImportInputBox.tsx b/ui/src/components/workflow/WorkflowGraphImportInputBox.tsx index 8a951cb3a..2201c6d14 100644 --- a/ui/src/components/workflow/WorkflowGraphImportInputBox.tsx +++ b/ui/src/components/workflow/WorkflowGraphImportInputBox.tsx @@ -229,13 +229,9 @@ const WorkflowGraphImportInputBox = forwardRef - handleFormatChange(e.target.value)}> - - YAML - - - JSON - + handleFormatChange(e.target.value)}> + YAML + JSON diff --git a/ui/src/pages/accesses/AccessList.tsx b/ui/src/pages/accesses/AccessList.tsx index 09e1bbfa5..2bbd8e1b1 100644 --- a/ui/src/pages/accesses/AccessList.tsx +++ b/ui/src/pages/accesses/AccessList.tsx @@ -407,7 +407,7 @@ const AccessList = () => { columns={tableColumns} dataSource={tableData} - loading={!loadedAtOnce || loading} + loading={loading} locale={{ emptyText: loading ? ( @@ -415,12 +415,18 @@ const AccessList = () => { } extra={ - + !loadedAtOnce ? ( + + ) : ( + + ) } /> ), diff --git a/ui/src/pages/certificates/CertificateList.tsx b/ui/src/pages/certificates/CertificateList.tsx index f7c50fa0b..ecd927ca7 100644 --- a/ui/src/pages/certificates/CertificateList.tsx +++ b/ui/src/pages/certificates/CertificateList.tsx @@ -417,7 +417,7 @@ const CertificateList = () => { icon={} extra={ loadError ? ( - ) : ( diff --git a/ui/src/pages/dashboard/Dashboard.tsx b/ui/src/pages/dashboard/Dashboard.tsx index 03224cac2..dece63cc1 100644 --- a/ui/src/pages/dashboard/Dashboard.tsx +++ b/ui/src/pages/dashboard/Dashboard.tsx @@ -383,7 +383,7 @@ const WorkflowRunHistoryTable = ({ className, style }: { className?: string; sty icon={} extra={ loadError ? ( - ) : ( diff --git a/ui/src/pages/settings/SettingsAppearance.tsx b/ui/src/pages/settings/SettingsAppearance.tsx index 304724fa7..893470443 100644 --- a/ui/src/pages/settings/SettingsAppearance.tsx +++ b/ui/src/pages/settings/SettingsAppearance.tsx @@ -48,7 +48,7 @@ const SettingsAppearanceTheme = ({ className, style }: { className?: string; sty
- +
{themeItems.map((item) => (
diff --git a/ui/src/pages/workflows/WorkflowList.tsx b/ui/src/pages/workflows/WorkflowList.tsx index 0deef24a1..c6d1ef7a7 100644 --- a/ui/src/pages/workflows/WorkflowList.tsx +++ b/ui/src/pages/workflows/WorkflowList.tsx @@ -495,7 +495,7 @@ const WorkflowList = () => { icon={} extra={ loadError ? ( - ) : (