nuxt-glorious 1.2.3-8 → 1.2.3-9

Sign up to get free protection for your applications and to get access to all the features.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-glorious",
3
3
  "configKey": "glorious",
4
- "version": "1.2.3-8"
4
+ "version": "1.2.3-9"
5
5
  }
@@ -11,7 +11,8 @@ const props = defineProps({
11
11
  },
12
12
  body: {
13
13
  required: true,
14
- type: [Object, 'undefined'],
14
+ type: Array<Object>,
15
+ default: [],
15
16
  },
16
17
  loading: {
17
18
  required: false,
@@ -47,7 +48,7 @@ const props = defineProps({
47
48
  </th>
48
49
  </tr>
49
50
  </thead>
50
- <tbody v-if="!props.loading && props.body !== 'undefined'">
51
+ <tbody v-if="!props.loading">
51
52
  <tr
52
53
  v-for="(bodyItem, bodyIndex) in props.body"
53
54
  :key="bodyIndex"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.3-8",
2
+ "version": "1.2.3-9",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",