Browse Source

fix(auto-backup): hide sensitive S3 configuration fields in edit view

Jacky 1 month ago
parent
commit
23e548f57a
1 changed files with 6 additions and 1 deletions
  1. 6 1
      app/src/views/backup/AutoBackup/AutoBackup.vue

+ 6 - 1
app/src/views/backup/AutoBackup/AutoBackup.vue

@@ -161,7 +161,7 @@ const columns: StdTableColumn[] = [
     pure: true,
   },
   {
-    title: () => $gettext('Enabled'),
+    title: () => $gettext('Status'),
     dataIndex: 'enabled',
     customRender: ({ text }: CustomRenderArgs) => {
       return text
@@ -247,26 +247,31 @@ const columns: StdTableColumn[] = [
     title: () => $gettext('S3 Endpoint'),
     dataIndex: 's3_endpoint',
     hiddenInTable: true,
+    hiddenInEdit: true,
   },
   {
     title: () => $gettext('S3 Access Key ID'),
     dataIndex: 's3_access_key_id',
     hiddenInTable: true,
+    hiddenInEdit: true,
   },
   {
     title: () => $gettext('S3 Secret Access Key'),
     dataIndex: 's3_secret_access_key',
     hiddenInTable: true,
+    hiddenInEdit: true,
   },
   {
     title: () => $gettext('S3 Bucket'),
     dataIndex: 's3_bucket',
     hiddenInTable: true,
+    hiddenInEdit: true,
   },
   {
     title: () => $gettext('S3 Region'),
     dataIndex: 's3_region',
     hiddenInTable: true,
+    hiddenInEdit: true,
   },
   {
     title: () => $gettext('Actions'),