@abi-software/map-side-bar 2.10.0-beta.2 → 2.10.0-beta.3

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.10.0-beta.2",
3
+ "version": "2.10.0-beta.3",
4
4
  "files": [
5
5
  "dist/*",
6
6
  "src/*",
@@ -471,7 +471,6 @@ export default {
471
471
  searchAndFilterUpdate: function () {
472
472
  this.resetPageNavigation();
473
473
  this.searchKnowledge(this.filter, this.searchInput);
474
- this.$refs.filtersRef.setCascader(this.filter);
475
474
  this.searchHistoryUpdate(this.filter, this.searchInput);
476
475
  },
477
476
  searchHistoryUpdate: function (filters, search) {
@@ -505,7 +504,10 @@ export default {
505
504
  pageChange: function (page) {
506
505
  this.start = (page - 1) * this.numberPerPage;
507
506
  this.page = page;
508
- this.searchKnowledge(this.filter, this.searchInput);
507
+ this.expanded = "";
508
+ this.expandedData = null;
509
+ this.scrollToTop();
510
+ // this.searchKnowledge(this.filter, this.searchInput);
509
511
  },
510
512
  scrollToTop: function () {
511
513
  if (this.$refs.content) {
@@ -500,7 +500,7 @@ export default {
500
500
  // If 'cascaderTags' has key 'Anatomical structure',
501
501
  // it's value type will be Object (because it has nested facets),
502
502
  // in this case 'push' action will not available.
503
- if (term in this.cascaderTags && term !== 'Anatomical structure') {
503
+ if (term in this.cascaderTags && !['Anatomical structure', 'Nerves'].includes(term)) {
504
504
  this.cascaderTags[term].push(facetLabel)
505
505
  // connectivity exploration mode tags
506
506
  if (termId) {