Skip to content

Commit f8a2b47

Browse files
committed
fix: update action type in handleActionClick function for consistency
1 parent a3fe2ef commit f8a2b47

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

adminforth/spa/src/components/ThreeDotsMenu.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ import { useRoute, useRouter } from 'vue-router';
103103
import CallActionWrapper from '@/components/CallActionWrapper.vue'
104104
import { ref, type ComponentPublicInstance, onMounted, onUnmounted } from 'vue';
105105
import type { AdminForthActionFront, AdminForthBulkActionFront, AdminForthComponentDeclarationFull } from '@/types/Common';
106-
import type { AdminForthActionInput } from '@/types/Back';
107106
import { Spinner } from '@/afcl';
108107
109108
const { list, alert} = useAdminforth();
@@ -137,7 +136,7 @@ function setComponentRef(el: ComponentPublicInstance | null, index: number) {
137136
}
138137
}
139138
140-
async function handleActionClick(action: AdminForthActionInput, payload: any) {
139+
async function handleActionClick(action: AdminForthActionFront, payload: any) {
141140
list.closeThreeDotsDropdown();
142141
await executeCustomAction({
143142
actionId: action.id,

0 commit comments

Comments
 (0)