aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/controllers/taxonomy_controller.js
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-23 15:42:33 +0100
committerhellekin <hellekin@cepheide.org>2021-01-23 15:42:33 +0100
commit84dc56483203e13eafe69962ec6bc0c28c47aca7 (patch)
treee76e6bba8e08a84906f5cccc9205f3da2aff12e3 /app/javascript/controllers/taxonomy_controller.js
parent73b3fffdbe730c33480682c40e7e8271e75ddf59 (diff)
downloadincommon-map-84dc56483203e13eafe69962ec6bc0c28c47aca7.tar.gz
Remove unused Taxonomy target and refactor debug
Cleaning up the code.
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')