@jx3box/jx3box-editor 2.2.22 → 2.2.23

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Item.vue +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "2.2.22",
3
+ "version": "2.2.23",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Item.vue CHANGED
@@ -250,8 +250,9 @@
250
250
  :key="key"
251
251
  :class="{
252
252
  'u-yellow':
253
- sibling == source.Name ||
254
- sibling?.includes(source.Name),
253
+ sibling &&
254
+ (sibling == source.Name ||
255
+ sibling.includes(source.Name)),
255
256
  }">
256
257
  {{
257
258
  sibling