discourse/app/assets/javascripts/wizard/controllers/application.js.es6

12 lines
288 B
JavaScript

import Controller from "@ember/controller";
import discourseComputed from "discourse-common/utils/decorators";
export default Controller.extend({
currentStepId: null,
@discourseComputed("currentStepId")
showCanvas(currentStepId) {
return currentStepId === "finished";
}
});