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

10 lines
237 B
JavaScript

import computed from 'ember-addons/ember-computed-decorators';
export default Ember.Controller.extend({
currentStepId: null,
@computed('currentStepId')
showCanvas(currentStepId) {
return currentStepId === 'finished';
}
});