diff --git a/ui/app/components/clients/config.js b/ui/app/components/clients/config.js
index 6b7419144..b84494b41 100644
--- a/ui/app/components/clients/config.js
+++ b/ui/app/components/clients/config.js
@@ -34,11 +34,6 @@ export default class ConfigComponent extends Component {
helperText: 'The number of months of activity logs to maintain for client tracking.',
valueKey: 'retentionMonths',
},
- {
- label: 'Default display',
- helperText: 'The number of months we’ll display in the Vault usage dashboard by default.',
- valueKey: 'defaultReportMonths',
- },
];
}
diff --git a/ui/app/controllers/vault/cluster/clients/config.js b/ui/app/controllers/vault/cluster/clients/config.js
deleted file mode 100644
index 2d566a95a..000000000
--- a/ui/app/controllers/vault/cluster/clients/config.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import Controller from '@ember/controller';
-
-export default class ConfigController extends Controller {}
diff --git a/ui/app/controllers/vault/cluster/clients/current.js b/ui/app/controllers/vault/cluster/clients/current.js
deleted file mode 100644
index 5d260801b..000000000
--- a/ui/app/controllers/vault/cluster/clients/current.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import Controller from '@ember/controller';
-
-export default class CurrentController extends Controller {}
diff --git a/ui/app/controllers/vault/cluster/clients/history.js b/ui/app/controllers/vault/cluster/clients/history.js
deleted file mode 100644
index cfc2bfe9e..000000000
--- a/ui/app/controllers/vault/cluster/clients/history.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import Controller from '@ember/controller';
-
-export default class HistoryController extends Controller {}
diff --git a/ui/app/controllers/vault/cluster/clients/index.js b/ui/app/controllers/vault/cluster/clients/index.js
deleted file mode 100644
index 7892c9356..000000000
--- a/ui/app/controllers/vault/cluster/clients/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import Controller from '@ember/controller';
-
-export default class ClientsController extends Controller {}
diff --git a/ui/app/models/clients/config.js b/ui/app/models/clients/config.js
index 919c0f2cf..49c83a359 100644
--- a/ui/app/models/clients/config.js
+++ b/ui/app/models/clients/config.js
@@ -6,10 +6,6 @@ import { apiPath } from 'vault/macros/lazy-capabilities';
const M = Model.extend({
queriesAvailable: attr('boolean'),
- defaultReportMonths: attr('number', {
- label: 'Default display',
- subText: 'The number of months we’ll display in the Vault usage dashboard by default.',
- }),
retentionMonths: attr('number', {
label: 'Retention period',
subText: 'The number of months of activity logs to maintain for client tracking.',
@@ -24,7 +20,7 @@ const M = Model.extend({
}),
configAttrs: computed(function () {
- let keys = ['enabled', 'defaultReportMonths', 'retentionMonths'];
+ let keys = ['enabled', 'retentionMonths'];
return expandAttributeMeta(this, keys);
}),
});
diff --git a/ui/app/serializers/clients/config.js b/ui/app/serializers/clients/config.js
index 08d6701a7..c39ac69f4 100644
--- a/ui/app/serializers/clients/config.js
+++ b/ui/app/serializers/clients/config.js
@@ -22,9 +22,8 @@ export default ApplicationSerializer.extend({
const oldEnabled = json.enabled;
json.enabled = oldEnabled === 'On' ? 'enable' : 'disable';
}
- json.default_report_months = parseInt(json.default_report_months, 10);
json.retention_months = parseInt(json.retention_months, 10);
- if (isNaN(json.default_report_months) || isNaN(json.retention_months)) {
+ if (isNaN(json.retention_months)) {
throw new Error('Invalid number value');
}
delete json.queries_available;
diff --git a/ui/app/templates/components/clients/config.hbs b/ui/app/templates/components/clients/config.hbs
index a79cfb333..c0736a263 100644
--- a/ui/app/templates/components/clients/config.hbs
+++ b/ui/app/templates/components/clients/config.hbs
@@ -1,16 +1,47 @@
-{{#if @isLoading}}
-