Skip to content

Commit 0904f99

Browse files
Fixed file using tabs instead of spaces
1 parent 401c412 commit 0904f99

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { Controller } from "@hotwired/stimulus"
22

33
export default class extends Controller {
4-
static targets = ["source", "destination"]
5-
static values = {
6-
valuesToHide: Array
7-
}
8-
sourceChanged() {
9-
const val = $(this.sourceTarget).val()
10-
this.destinationTargets.forEach(
11-
destination_target => { $(destination_target).toggleClass("d-none", this.valuesToHideValue.includes(val)); }
12-
)
13-
}
4+
static targets = ["source", "destination"]
5+
static values = {
6+
valuesToHide: Array
7+
}
8+
sourceChanged() {
9+
const val = $(this.sourceTarget).val()
10+
this.destinationTargets.forEach(
11+
destination_target => { $(destination_target).toggleClass("d-none", this.valuesToHideValue.includes(val)); }
12+
)
13+
}
1414
}

0 commit comments

Comments
 (0)