0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 20:32:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/controllers/admin-wizards-columns.js.es6
2021-09-09 14:07:12 +08:00

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")();
},
},
});