atom-nuxt 1.0.132 → 1.0.134
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
|
@@ -172,7 +172,7 @@ const dialogOpen = computed({
|
|
|
172
172
|
console.log('currentRouteName', currentRouteName)
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
if (hasBackState && previousRouteName
|
|
175
|
+
if (hasBackState && previousRouteName === currentRouteName) { // Only go back if there's a back state AND the previous route is the same
|
|
176
176
|
console.log('going back')
|
|
177
177
|
router.back();
|
|
178
178
|
} else {
|
|
@@ -302,7 +302,7 @@ const saveAction = async () => {
|
|
|
302
302
|
await deleteItem(itemToSave.id);
|
|
303
303
|
}
|
|
304
304
|
if (formErrors.value == null || Object.keys(formErrors.value).length === 0) {
|
|
305
|
-
notify(props.path + ":" + action.value,
|
|
305
|
+
notify(props.path + ":" + action.value, item.value);
|
|
306
306
|
dialogOpen.value = false;
|
|
307
307
|
await getItems(parseInt(page.value) ?? null, null, filterValues.value);
|
|
308
308
|
}
|