discourse/app/assets/javascripts/wizard/components/wizard-step-form.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
297 B
JavaScript
Raw Normal View History

import Component from "@ember/component";
import discourseComputed from "discourse-common/utils/decorators";
2016-08-25 13:14:56 -04:00
export default Component.extend({
2016-08-25 13:14:56 -04:00
classNameBindings: [":wizard-step-form", "customStepClass"],
@discourseComputed("step.id")
2018-07-30 11:56:48 -04:00
customStepClass: stepId => `wizard-step-${stepId}`
2016-08-25 13:14:56 -04:00
});