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

Failed to ignore revisions in .git-blame-ignore-revs.

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({
2018-06-15 11:03:24 -04:00
classNameBindings: [":wizard-step-form", "customStepClass"],
2016-08-25 13:14:56 -04:00
@discourseComputed("step.id")
2018-07-30 11:56:48 -04:00
customStepClass: stepId => `wizard-step-${stepId}`
2016-08-25 13:14:56 -04:00
});