atom-nuxt 1.4.13 → 1.4.14

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": "@atomengine/atom-nuxt",
3
3
  "configKey": "atomNuxt",
4
- "version": "1.4.13",
4
+ "version": "1.4.14",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -263,8 +263,20 @@ const onQueryChange = (page2) => {
263
263
  };
264
264
  if (props.loaderKey) {
265
265
  finalQuery[props.loaderKey] = stringifyQuery(newQuery);
266
+ if (route.query[`${props.loaderKey}action`]) {
267
+ finalQuery[`${props.loaderKey}action`] = route.query[`${props.loaderKey}action`];
268
+ }
269
+ if (route.query[`${props.loaderKey}actionId`]) {
270
+ finalQuery[`${props.loaderKey}actionId`] = route.query[`${props.loaderKey}actionId`];
271
+ }
266
272
  } else {
267
273
  finalQuery = newQuery;
274
+ if (route.query.action) {
275
+ finalQuery.action = route.query.action;
276
+ }
277
+ if (route.query.actionId) {
278
+ finalQuery.actionId = route.query.actionId;
279
+ }
268
280
  }
269
281
  console.error("Setting query", finalQuery);
270
282
  router.replace({ path: route.path, query: finalQuery, force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "atomengine/atom-nuxt",
6
6
  "license": "MIT",