mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 20:26:35 +08:00
12 lines
288 B
JavaScript
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";
|
|
}
|
|
});
|