Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
DEV: Run Prettier đź’„
Dieser Commit ist enthalten in:
Ursprung
9fc2092951
Commit
1e38001942
1 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
Laden …
In neuem Issue referenzieren