mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:20:33 +08:00
fcb4e5a1a1
Co-authored-by: David Taylor <david@taylorhq.com>
10 lines
300 B
JavaScript
10 lines
300 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}`,
|
|
});
|