Fix: debug back btn in add, edit, detail content page

This commit is contained in:
hasyim_kai
2025-11-07 10:35:46 +07:00
parent 59b44b5729
commit 24313adef6
3 changed files with 3 additions and 3 deletions
@@ -83,7 +83,7 @@ async function handleActionClick(eventType: string) {
isConfirmationOpen.value = true
}
if (eventType === 'cancel') {
if (eventType === 'back') {
if (props.callbackUrl) {
await navigateTo(props.callbackUrl)
return
@@ -61,7 +61,7 @@ function handleAction(type: string) {
})
break
case 'cancel':
case 'back':
goBack()
break
}
@@ -110,7 +110,7 @@ async function handleActionClick(eventType: string) {
isConfirmationOpen.value = true
}
if (eventType === 'cancel') {
if (eventType === 'back') {
if (props.callbackUrl) {
await navigateTo(props.callbackUrl)
return