@abi-software/map-side-bar 2.13.0-acupoint.0 → 2.13.0-acupoint.2

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": "@abi-software/map-side-bar",
3
- "version": "2.13.0-acupoint.0",
3
+ "version": "2.13.0-acupoint.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -153,9 +153,9 @@ export default {
153
153
  filters: [
154
154
  {
155
155
  "facetPropPath": "acupoints.WHO",
156
- "facet": "WHO",
156
+ "facet": "Show all",
157
157
  "term": "WHO",
158
- "tagLabel": "WHO"
158
+
159
159
  },
160
160
  {
161
161
  "facetPropPath": "acupoints.visualized",
@@ -170,7 +170,7 @@ export default {
170
170
  {
171
171
  "facetPropPath": "acupoints.userDefined",
172
172
  "facet": "Show all",
173
- "term": "user"
173
+ "term": "User defined"
174
174
  }
175
175
  ],
176
176
  filterOptions: [
@@ -201,7 +201,7 @@ export default {
201
201
  },
202
202
  {
203
203
  "key": "acupoints.implied.no",
204
- "label": "Non Implied",
204
+ "label": "Not implied",
205
205
  "value": "Implied>No"
206
206
  },
207
207
  ],
@@ -288,7 +288,7 @@ export default {
288
288
  if (filter.facetPropPath === "acupoints.implied") {
289
289
  if (filter.facet === "Implied") {
290
290
  this.currentFilters['mri'] = 'Off'
291
- } else if (filter.facet === 'Non Implied') {
291
+ } else if (filter.facet === 'Not implied') {
292
292
  this.currentFilters['mri'] = 'On'
293
293
  } else {
294
294
  this.currentFilters['mri'] = 'Both'
@@ -355,8 +355,7 @@ export default {
355
355
  }
356
356
  if (this.currentFilters['mri'] !== "Both") {
357
357
  const mri = this.currentFilters['mri'] === "On" ? true : false
358
- filteredList = filteredList.filter(
359
- item => (item.onMRI ? true : false) === mri)
358
+ filteredList = filteredList.filter(item => (item.onMRI ? true : false) === mri)
360
359
  }
361
360
  if (this.currentFilters['who'] !== "Both") {
362
361
  const who = this.currentFilters['who'] === "Yes" ? true : false