@hostlink/nuxt-light 1.42.1 → 1.42.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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.42.1",
4
+ "version": "1.42.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -257,7 +257,13 @@ const onLocalRequest = async (p) => {
257
257
  p.pagination.rowsPerPage = saved;
258
258
  }
259
259
  }
260
- builder.add(fields);
260
+ if (Array.isArray(fields)) {
261
+ fields.forEach((f) => {
262
+ builder.add(f);
263
+ });
264
+ } else {
265
+ builder.add(fields);
266
+ }
261
267
  let localFilters = getFilterValue();
262
268
  if (filters2) {
263
269
  localFilters = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.42.1",
3
+ "version": "1.42.2",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",