919ec733e7
refs https://linear.app/tryghost/issue/IPC-92/add-logic-for-completing-steps - added `onboarding` service to manage logic and state for the onboarding display and it's various steps - added basic "display onboarding checklist" state to replicate the basic feature flag toggle along with making sure it's only shown to owners - added acceptance test file and missing mirage endpoints needed for the dashboard to load without error
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
import Helper from '@ember/component/helper';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class FeatureHelper extends Helper {
|
|
@service feature;
|
|
|
|
compute([featureFlag]) {
|
|
return this.feature.get(featureFlag);
|
|
}
|
|
}
|