0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

DEV: Run Prettier đź’„

Dieser Commit ist enthalten in:
Keegan George 2021-09-02 15:41:55 -07:00
Ursprung 9fc2092951
Commit 1e38001942

Datei anzeigen

@ -2,15 +2,14 @@ import Controller from "@ember/controller";
import ModalFunctionality from "discourse/mixins/modal-functionality"; import ModalFunctionality from "discourse/mixins/modal-functionality";
export default Controller.extend(ModalFunctionality, { export default Controller.extend(ModalFunctionality, {
actions: { actions: {
save() { save() {
this.send("closeModal"); this.send("closeModal");
}, },
resetToDefault() { resetToDefault() {
this.get('model.fields').forEach(field => { this.get("model.fields").forEach((field) => {
field.set("enabled", true); field.set("enabled", true);
}); });
} },
} },
}); });