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

10 lines
297 B
JavaScript

import Component from "@ember/component";
import discourseComputed from "discourse-common/utils/decorators";
export default Component.extend({
classNameBindings: [":wizard-step-form", "customStepClass"],
@discourseComputed("step.id")
customStepClass: stepId => `wizard-step-${stepId}`
});