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
300 B
JavaScript
Raw Normal View History

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