@abi-software/map-side-bar 2.14.3 → 2.14.4

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.14.3",
3
+ "version": "2.14.4",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  size="small"
34
34
  class="alert-chip"
35
35
  @click="showAlertMessage"
36
- v-if="entry.featuresAlert"
36
+ v-if="entry.featuresAlert?.length"
37
37
  >
38
38
  <el-icon class="alert"><el-icon-warn-triangle-filled /></el-icon>
39
39
  Notes
@@ -291,7 +291,7 @@
291
291
  <div
292
292
  ref="alertElement"
293
293
  class="content-container content-container-alert"
294
- v-if="entry.featuresAlert"
294
+ v-if="entry.featuresAlert?.length"
295
295
  >
296
296
  <div class="block attribute-title-container">
297
297
  <span class="attribute-title">Notes</span>
@@ -799,7 +799,7 @@ export default {
799
799
  }
800
800
 
801
801
  // Alert (Notes)
802
- if (this.entry.featuresAlert) {
802
+ if (this.entry.featuresAlert?.length) {
803
803
  const alertContent = this.entry.featuresAlert
804
804
  .map((alert) => this.formatAlertText(alert))
805
805
  .join('\n');