open-vault/ui/lib/core/addon/components/upgrade-page.js
Jordan Reimer 52fe56ec87
Eslint prefer-const (#17864)
* adds prefer-const to eslint config and runs fixer

* reverts unintended change
2022-11-09 15:15:31 -08:00

14 lines
408 B
JavaScript

import Component from '@ember/component';
import { computed } from '@ember/object';
import layout from '../templates/components/upgrade-page';
export default Component.extend({
layout,
title: 'Vault Enterprise',
featureName: computed('title', function () {
const title = this.title;
return title === 'Vault Enterprise' ? 'this feature' : title;
}),
minimumEdition: 'Vault Enterprise',
});