discourse/app/assets/javascripts/wizard/addon/controllers/wizard.js
David Taylor 003b44c75c
UX: Restore wizard confetti in final step (#23533)
This was accidentally removed as part of the refactoring in fcb4e5a1a1. This commit restores it, and updates it use theme-specific colours.
2023-09-26 12:04:21 +01:00

9 lines
221 B
JavaScript

import Controller, { inject as controller } from "@ember/controller";
export default class extends Controller {
@controller wizardStep;
get showCanvas() {
return this.wizardStep.get("step.id") === "ready";
}
}