discourse/app/assets/javascripts/wizard/controllers/application.js
2020-03-23 14:15:16 -04:00

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";
}
});