- {{ isRegistration ? 'Have an account?' : 'Not reigistered?' }}
+ {{ isRegistration ? 'Have an account?' : 'Not registered?' }}
{{ isRegistration ? 'Login' : 'Created an Account' }}
+ >{{ isRegistration ? 'Login' : 'Create an Account' }}
diff --git a/src/pages/Editor.vue b/src/pages/Editor.vue
index 324262a..a0cc594 100644
--- a/src/pages/Editor.vue
+++ b/src/pages/Editor.vue
@@ -385,16 +385,7 @@ const deleteEditorPage = async (close = false) => {
},
body: JSON.stringify(params),
})
-
- const result = (await response.json()) as unknown as any
- if (!result.success) {
- return alert('Failed to delete page: ' + result.message)
- }
-
- editorPageId.value = result.data.pageId
- if ( close ) {
- await router.push('/Listings')
- }
+ await router.push('/Listings')
}
const loadEditorPage = async () => {
@@ -597,7 +588,7 @@ onMounted(() => {