Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-27 11:20:28 +01:00
14 Zeilen
308 B
JavaScript
14 Zeilen
308 B
JavaScript
import Controller from "@ember/controller";
|
|
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
|
|
|
export default Controller.extend(ModalFunctionality, {
|
|
actions: {
|
|
save() {
|
|
this.send("closeModal");
|
|
},
|
|
|
|
resetToDefault() {
|
|
this.get("model.reset")();
|
|
},
|
|
},
|
|
});
|