Ghost/ghost/admin/app/helpers/enable-developer-experiments.js
Kevin Ansfield a3d3632e97 Added developer experiments indication to about page
no issue

- without this there's no indication the config flag is set when you have no access to the config file or you don't know which features are currently behind the flag
2020-10-09 11:38:47 +01:00

11 lines
276 B
JavaScript

import Helper from '@ember/component/helper';
import {inject as service} from '@ember/service';
export default class EnableDeveloperExperimentsHelper extends Helper {
@service config;
compute() {
return this.config.get('enableDeveloperExperiments');
}
}