@abi-software/map-side-bar 2.13.0-acupoint.4 → 2.13.0-acupoint.6

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.4",
3
+ "version": "2.13.0-acupoint.6",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -112,13 +112,13 @@ export default {
112
112
  },
113
113
  created: function () {
114
114
  if (this.entry["Meridian Point"]) {
115
- this.tags.push({ name: 'WHO', type: 'success' })
115
+ this.tags.push({ name: 'WHO', type: 'info' })
116
116
  }
117
117
  if (this.entry.Meridian) {
118
118
  this.tags.push({ name: this.entry.Meridian, type: 'info' })
119
119
  }
120
- if (!this.entry.onMRI) {
121
- this.tags.push({ name: 'Implied', type: 'info' })
120
+ if (this.entry.onMRI) {
121
+ this.tags.push({ name: 'Spotted', type: 'success' })
122
122
  }
123
123
  if (this.entry.userDefined) {
124
124
  this.tags.push({ name: 'User Defined', type: 'warning' })
@@ -400,7 +400,7 @@ export default {
400
400
  }
401
401
  this.results.sort((a, b) => {
402
402
  if (a["Meridian Point"] == b["Meridian Point"]) {
403
- return 0
403
+ return a['Acupoint'].localeCompare(b['Acupoint'], undefined, { numeric: true })
404
404
  } else if (a["Meridian Point"]) {
405
405
  return -1
406
406
  } else {