mirror of https://github.com/portainer/portainer
19 lines
412 B
JavaScript
19 lines
412 B
JavaScript
const BE_URL = 'https://www.portainer.io/business-upsell?from=';
|
|
|
|
export default class BeIndicatorController {
|
|
/* @ngInject */
|
|
constructor(featureService) {
|
|
Object.assign(this, { featureService });
|
|
|
|
this.limitedToBE = false;
|
|
}
|
|
|
|
$onInit() {
|
|
if (this.feature) {
|
|
this.url = `${BE_URL}${this.feature}`;
|
|
|
|
this.limitedToBE = this.featureService.isLimitedToBE(this.feature);
|
|
}
|
|
}
|
|
}
|