UI: [VAULT-18040] List all features in license info (#22855)

This commit is contained in:
Kianna 2023-09-12 08:48:15 -07:00 committed by GitHub
parent 8f6535cfaf
commit 249d8d7b52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

3
changelog/22855.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:bug
ui: don't exclude features present on license
```

View file

@ -28,7 +28,12 @@ import { allFeatures } from 'vault/helpers/all-features';
*/
export default class LicenseInfoComponent extends Component {
get featuresInfo() {
return allFeatures().map((feature) => {
const notIncludedInFeaturesList = this.args.features.filter(
(feature) => !allFeatures().includes(feature)
);
const features = [...allFeatures(), ...notIncludedInFeaturesList];
return features.map((feature) => {
const active = this.args.features.includes(feature);
if (active && feature === 'Performance Standby') {
const count = this.args.performanceStandbyCount;