@abi-software/map-side-bar 1.3.4 → 1.3.5

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": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "main": "./dist/map-side-bar.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -99,7 +99,7 @@ export class AlgoliaClient {
99
99
  hit.item.keywords.forEach(keywordObj=>{
100
100
  let keyword = keywordObj.keyword
101
101
  if (keyword.includes('UBERON') || keyword.includes('ilxtr') || keyword.includes('ILX')) {
102
- foundKeyWords.push(this._splitUberonURL(keyword))
102
+ foundKeyWords.push(this._processUberonURL(keyword))
103
103
  uniqueKeywords = [...new Set(foundKeyWords)]
104
104
  }
105
105
  })
@@ -108,8 +108,9 @@ export class AlgoliaClient {
108
108
  return uniqueKeywords
109
109
  }
110
110
 
111
- _splitUberonURL(url){
112
- return url.split('/').pop()
111
+ _processUberonURL(url){
112
+ let ub = url.split('/').pop()
113
+ ub.replace('_',':')
113
114
  }
114
115
 
115
116
  /**