open-vault/ui/lib/core/addon/components/upgrade-page.js
Joshua Ogle f58b79db7f
UI: Remove upgrade modal (#6871)
* Remove upgrade-link component
* Hide enterprrise links from OSS
* Don't show sidebar if they can't use the options
2019-06-14 15:46:18 -06:00

14 lines
412 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() {
let title = this.get('title');
return title === 'Vault Enterprise' ? 'this feature' : title;
}),
minimumEdition: 'Vault Enterprise',
});