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