aboutsummaryrefslogtreecommitdiff
path: root/src/components/invoice_header_editor.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/invoice_header_editor.vue')
-rw-r--r--src/components/invoice_header_editor.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/invoice_header_editor.vue b/src/components/invoice_header_editor.vue
index 0a39ce5..6bd62b8 100644
--- a/src/components/invoice_header_editor.vue
+++ b/src/components/invoice_header_editor.vue
@@ -58,7 +58,7 @@ const submit = async (e: Event) => {
"customerwebsite": c.Website,
})
- route.push({ name: "edit-draft", params: { id: res.data.data.ID }})
+ route.push({ name: "edit-invoice", params: { id: res.data.data.ID }})
} catch (err: any) {
const statusCode: any = err.request.status
const res: any = JSON.parse(err.request.response)