mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Add report name and details to CSV files
This commit is contained in:
committed by
Maikel Linke
parent
f5a9ec7fa9
commit
0a9eb173ea
@@ -4,9 +4,9 @@ export default class extends Controller {
|
||||
static targets = ["reportType", "checkbox", "label"];
|
||||
|
||||
handleSelectChange() {
|
||||
this.reportTypeTarget.value == "csv"
|
||||
? this.disableField()
|
||||
: this.enableField();
|
||||
this.reportTypeTarget.value == "csv" ?
|
||||
this.disableField():
|
||||
this.enableField();
|
||||
}
|
||||
|
||||
disableField() {
|
||||
|
||||
Reference in New Issue
Block a user