@worksafevictoria/wcl7.5 1.1.0-beta.105 → 1.1.0-beta.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.1.0-beta.105",
3
+ "version": "1.1.0-beta.106",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="wcl-directory-filters__single-tax" style="border: 2px solid red;">
2
+ <div class="wcl-directory-filters__single-tax">
3
3
  <filter-button
4
4
  :has-caret="true"
5
5
  :selected="numberOfItems > 0"
@@ -27,7 +27,6 @@
27
27
  @cleared="$emit('locationCleared')"
28
28
  />
29
29
  </column>
30
- filters.taxonomies:- {{ filters.taxonomies }}
31
30
  <column
32
31
  :md="!bundle ? 12 : bundle === 'isp' ? 4 : 8"
33
32
  :sm="!bundle ? 12 : bundle === 'isp' ? 6 : 12"
@@ -40,13 +39,13 @@
40
39
  :data="t"
41
40
  :results="results"
42
41
  :loading="isFiltering"
43
- class="wcl-directory-filters__filterButton single-taxonomy"
42
+ class="wcl-directory-filters__filterButton"
44
43
  @onFilter="emitFilterOpts($event)"
45
44
  />
46
45
  <filter-button
47
46
  v-if="!hideReset"
48
47
  :is-reset="true"
49
- class="wcl-directory-filters__filterButton filter-button"
48
+ class="wcl-directory-filters__filterButton"
50
49
  @clicked="reset"
51
50
  />
52
51
  </column>
@@ -117,7 +116,14 @@ export default {
117
116
  // wait for hydration,
118
117
  // then show all boxes together
119
118
  this.loading = false
120
- console.log('directoryFilters filters:- ', this.filters)
119
+
120
+ // Log the filters data
121
+ console.log("Filters Data:", this.filters);
122
+
123
+ // Log taxonomies specifically
124
+ if (this.filters.taxonomies) {
125
+ console.log("Taxonomies:", this.filters.taxonomies.map(taxonomy => taxonomy.name));
126
+ }
121
127
  },
122
128
  methods: {
123
129
  emitFilterOpts(ev) {