0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 12:22:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-custom-step.js.es6
Angus McLeod 98f9215d65 various
2020-04-08 12:52:07 +10:00

15 Zeilen
294 B
JavaScript

import Component from "@ember/component";
export default Component.extend({
classNames: 'wizard-custom-step',
actions: {
bannerUploadDone(upload) {
this.set("step.banner", upload.url);
},
bannerUploadDeleted() {
this.set("step.banner", null);
}
}
});