atom-nuxt 1.0.130 → 1.0.132

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.0.130",
4
+ "version": "1.0.132",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -171,9 +171,9 @@ const dialogOpen = computed({
171
171
  console.log('previousRouteName', previousRouteName)
172
172
  console.log('currentRouteName', currentRouteName)
173
173
 
174
- const isDifferentRoute = previousRouteName !== currentRouteName
175
174
 
176
- if (hasBackState && isDifferentRoute) { // IF THERE IS A BACK STATE AND THE PREVIOUS ROUTE IS THE SAME AS THE CURRENT ROUTE
175
+ if (hasBackState && previousRouteName !== currentRouteName) { // IF THERE IS A BACK STATE AND THE PREVIOUS ROUTE IS THE SAME AS THE CURRENT ROUTE
176
+ console.log('going back')
177
177
  router.back();
178
178
  } else {
179
179
  // ✅ Clone the query object!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.0.130",
3
+ "version": "1.0.132",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "atomengine/atom-nuxt",
6
6
  "license": "MIT",