mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +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);
|
||
|
}
|
||
|
}
|