1
This commit is contained in:
@@ -654,6 +654,8 @@ watch(isCreatePage, (isCreate, wasCreate) => {
|
||||
editingId.value = undefined
|
||||
replaceForm(quickOrderDraft())
|
||||
resetEditorValidation()
|
||||
// The list and create routes reuse this component, so onMounted does not run again.
|
||||
if (wasCreate === false) void loadPageData()
|
||||
}, { immediate: true })
|
||||
|
||||
watch(detailOpen, (open) => {
|
||||
|
||||
Reference in New Issue
Block a user