@abi-software/flatmapvuer 1.11.1 → 1.11.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/flatmapvuer",
3
- "version": "1.11.1",
3
+ "version": "1.11.2",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -44,7 +44,7 @@
44
44
  "./src/*": "./src/*"
45
45
  },
46
46
  "dependencies": {
47
- "@abi-software/map-utilities": "^1.7.0",
47
+ "@abi-software/map-utilities": "^1.7.1",
48
48
  "@abi-software/sparc-annotation": "0.3.2",
49
49
  "@abi-software/svg-sprite": "1.0.2",
50
50
  "@element-plus/icons-vue": "^2.3.1",
@@ -3424,19 +3424,14 @@ export default {
3424
3424
  this.drawerOpen = false
3425
3425
  return false
3426
3426
  }
3427
- if (!this.isFC) {
3427
+ if ((this.systems?.length > 0) ||
3428
+ (this.containsAlert && this.alertOptions) ||
3429
+ (this.pathways?.length > 0) ||
3430
+ (this.taxonConnectivity?.length > 0) ||
3431
+ (this.legendEntry?.length > 0)
3432
+ ) {
3428
3433
  this.drawerOpen = true
3429
3434
  return true
3430
- } else {
3431
- if ((this.systems?.length > 0) ||
3432
- (this.containsAlert && this.alertOptions) ||
3433
- (this.pathways?.length > 0) ||
3434
- (this.taxonConnectivity?.length > 0) ||
3435
- (this.legendEntry?.length > 0)
3436
- ) {
3437
- this.drawerOpen = true
3438
- return true
3439
- }
3440
3435
  }
3441
3436
  this.drawerOpen = false
3442
3437
  return false