mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Move computed to discourseComputed (#8312)
This commit is contained in:
committed by
GitHub
parent
d74546f50e
commit
6275c05c0d
@@ -1,10 +1,10 @@
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
|
||||
export default Controller.extend({
|
||||
currentStepId: null,
|
||||
|
||||
@computed("currentStepId")
|
||||
@discourseComputed("currentStepId")
|
||||
showCanvas(currentStepId) {
|
||||
return currentStepId === "finished";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user