@mixd-id/web-scaffold 0.1.230406127 → 0.1.230406129

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406127",
4
+ "version": "0.1.230406129",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :class="$style.comp">
2
+ <div :class="$style.comp" v-if="Array.isArray(items) && items.length > 0">
3
3
  <pre></pre>
4
4
  <div v-if="id" :id="id" :class="$style.anchor"></div>
5
5
  <h3>{{ title ?? '' }}</h3>
@@ -171,6 +171,9 @@ export default{
171
171
  computed: {
172
172
 
173
173
  items(){
174
+ if(!this.item.props.items){
175
+ this.item.props.items = { reviews:[] }
176
+ }
174
177
  return this.item.props.items
175
178
  }
176
179