aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/controllers/taxonomy_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/controllers/taxonomy_controller.js')
-rw-r--r--app/javascript/controllers/taxonomy_controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/controllers/taxonomy_controller.js b/app/javascript/controllers/taxonomy_controller.js
index 413872b..48d9a52 100644
--- a/app/javascript/controllers/taxonomy_controller.js
+++ b/app/javascript/controllers/taxonomy_controller.js
@@ -9,7 +9,7 @@
import { Controller } from "stimulus"
export default class extends Controller {
- static targets = [ "category", "deploy", "filter", "layers", "section", "toggle" ]
+ static targets = [ "category", "deploy", "filter", "section", "toggle" ]
initialize() {
console.log("Taxonomy controller initialized.")
@@ -18,6 +18,7 @@ export default class extends Controller {
this.sectionsOnMap = []
}
+ // Load filtering sidebar
connect() {
console.log("Taxonomy controller connected.")
this.taxonomy_uuid = this.data.get('uuid')