mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Fix all existing prettier issues
This commit is contained in:
@@ -4,9 +4,7 @@ export default class extends Controller {
|
||||
static targets = ["reportType", "checkbox", "label"];
|
||||
|
||||
handleSelectChange() {
|
||||
this.reportTypeTarget.value == "csv" ?
|
||||
this.enableField():
|
||||
this.disableField();
|
||||
this.reportTypeTarget.value == "csv" ? this.enableField() : this.disableField();
|
||||
}
|
||||
|
||||
disableField() {
|
||||
@@ -27,4 +25,4 @@ export default class extends Controller {
|
||||
this.labelTarget.classList.remove("disabled");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user