Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-13 21:42:53 +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")();
|
|
},
|
|
},
|
|
});
|