diff --git a/changelog/22855.txt b/changelog/22855.txt new file mode 100644 index 000000000..a911e2112 --- /dev/null +++ b/changelog/22855.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: don't exclude features present on license +``` \ No newline at end of file diff --git a/ui/app/components/license-info.js b/ui/app/components/license-info.js index d1bca6543..5776e68b5 100644 --- a/ui/app/components/license-info.js +++ b/ui/app/components/license-info.js @@ -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;