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
|
@@ -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 &&
|
|
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!
|