2021-08-31 01:33:48 +02:00
|
|
|
import Controller from "@ember/controller";
|
|
|
|
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
|
|
|
|
|
|
|
export default Controller.extend(ModalFunctionality, {
|
|
|
|
actions: {
|
|
|
|
save() {
|
|
|
|
this.send("closeModal");
|
|
|
|
},
|
2021-09-09 08:07:12 +02:00
|
|
|
|
2021-08-31 01:33:48 +02:00
|
|
|
resetToDefault() {
|
2021-09-09 08:07:12 +02:00
|
|
|
this.get("model.reset")();
|
2021-09-03 00:41:55 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|