Format file according to our prettier configuration

This commit is contained in:
Jean-Baptiste Bellet
2022-11-10 09:49:28 +01:00
parent b7fcc0b4fc
commit bdf132a833

View File

@@ -1,10 +1,12 @@
import { Controller } from "stimulus";
export default class extends Controller {
static targets = ["reportType", "checkbox", "label"]
static targets = ["reportType", "checkbox", "label"];
handleSelectChange() {
this.reportTypeTarget.value == "csv" ? this.disableField() : this.enableField()
this.reportTypeTarget.value == "csv"
? this.disableField()
: this.enableField();
}
disableField() {