mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +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);
|
||
|
}
|
||
|
}
|