Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 20:32:54 +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")();
|
|
},
|
|
},
|
|
});
|