mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
11 lines
274 B
JavaScript
11 lines
274 B
JavaScript
|
import Helper from '@ember/component/helper';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
|
||
|
export default class EnableDeveloperExperimentsHelper extends Helper {
|
||
|
@service feature;
|
||
|
|
||
|
compute([featureFlag]) {
|
||
|
return this.feature.get(featureFlag);
|
||
|
}
|
||
|
}
|