@abi-software/map-side-bar 2.5.0-beta.6 → 2.5.0-beta.8

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.5.0-beta.6",
3
+ "version": "2.5.0-beta.8",
4
4
  "files": [
5
5
  "dist/*",
6
6
  "src/*",
@@ -428,11 +428,6 @@ export default {
428
428
  const name = data.map(t => t.label).join(', ');
429
429
  this.selectedConnectivity = name;
430
430
  this.toggleConnectivityTooltip(name, {show: true, type: 'click'});
431
-
432
- /**
433
- * This event is triggered by connectivity-graph's `tap-node` event.
434
- */
435
- this.$emit('connectivity-component-click', data);
436
431
  },
437
432
  getUpdateCopyContent: function () {
438
433
  if (!this.entry) {
@@ -609,15 +604,6 @@ export default {
609
604
  errorMessage,
610
605
  };
611
606
  },
612
- isExistingError: function (connectivityError) {
613
- if (
614
- this.connectivityError &&
615
- connectivityError.errorConnectivities !== this.connectivityError.errorConnectivities
616
- ) {
617
- return true;
618
- }
619
- return false;
620
- },
621
607
  pushConnectivityError: function (errorInfo) {
622
608
  const connectivityError = this.getConnectivityError(errorInfo);
623
609
  const connectivityGraphRef = this.$refs.connectivityGraphRef;
@@ -628,13 +614,11 @@ export default {
628
614
  }
629
615
 
630
616
  // error for list view
631
- if (!this.isExistingError(connectivityError)) {
632
- this.connectivityError = {...connectivityError};
617
+ this.connectivityError = {...connectivityError};
633
618
 
634
- setTimeout(() => {
635
- this.connectivityError = null;
636
- }, ERROR_TIMEOUT);
637
- }
619
+ setTimeout(() => {
620
+ this.connectivityError = null;
621
+ }, ERROR_TIMEOUT);
638
622
  },
639
623
  },
640
624
  mounted: function () {