DEV: Allow plugins to add wizard steps after specific steps (#9315)

This commit is contained in:
Mark VanLandingham
2020-04-01 08:36:50 -05:00
committed by GitHub
parent b2f30aa0b5
commit 689c61b462
4 changed files with 81 additions and 9 deletions

View File

@@ -61,6 +61,11 @@ export default Component.extend({
return getUrl(`/images/wizard/${src}`);
},
@discourseComputed("step.id")
bannerAndDescriptionClass(id) {
return `wizard-banner-and-description wizard-banner-and-description-${id}`;
},
@observes("step.id")
_stepChanged() {
this.set("saving", false);