From 6f49060ca4f8dbef4c6124567d75fb97615aa2f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=B4=E6=99=96?= <2689991790@qq.com> Date: Tue, 2 Apr 2024 15:18:37 +0800 Subject: [PATCH] Delete useless backup information configuration --- .../Detail/Backup/BackupConfiguration.tsx | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/ui/src/pages/Tenant/Detail/Backup/BackupConfiguration.tsx b/ui/src/pages/Tenant/Detail/Backup/BackupConfiguration.tsx index d3943be6b..7ad85e4d4 100644 --- a/ui/src/pages/Tenant/Detail/Backup/BackupConfiguration.tsx +++ b/ui/src/pages/Tenant/Detail/Backup/BackupConfiguration.tsx @@ -54,32 +54,6 @@ export default function BackupConfiguration({ const { ns, name } = useParams(); const publicKey = usePublicKey(); - const INFO_CONFIG = { - status: { - label: intl.formatMessage({ - id: 'Dashboard.Detail.Backup.BackupConfiguration.Status', - defaultMessage: '状态', - }), - }, - destType: { - label: intl.formatMessage({ - id: 'Dashboard.Detail.Backup.BackupConfiguration.BackupMediaType', - defaultMessage: '备份介质类型', - }), - }, - archivePath: { - label: intl.formatMessage({ - id: 'Dashboard.Detail.Backup.BackupConfiguration.LogArchivePath', - defaultMessage: '日志归档路径', - }), - }, - bakDataPath: { - label: intl.formatMessage({ - id: 'Dashboard.Detail.Backup.BackupConfiguration.DataBackupPath', - defaultMessage: '数据备份路径', - }), - }, - }; const INFO_CONFIG_ARR = [ { label: intl.formatMessage({ @@ -115,9 +89,6 @@ export default function BackupConfiguration({ value: 'ossAccessSecret', label: 'OSS Access Secret', }); - INFO_CONFIG.ossAccessSecret = { - label: 'OSS Access Secret', - }; } const DATE_CONFIG = { jobKeepDays: intl.formatMessage({