Skip to content

Commit 885c49f

Browse files
committed
fix: fix actions for the list view
1 parent be0ae2c commit 885c49f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

adminforth/spa/src/components/ResourceListTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@
199199
<button
200200
type="button"
201201
:disabled="rowActionLoadingStates?.[action.id]"
202-
@click.stop.prevent
203202
>
204203
<component
205204
v-if="action.icon"
@@ -563,6 +562,7 @@ async function deleteRecord(row: any) {
563562
const actionLoadingStates = ref<Record<string | number, boolean>>({});
564563
565564
async function startCustomAction(actionId: string, row: any) {
565+
console.log('Starting custom action', actionId, row);
566566
actionLoadingStates.value[actionId] = true;
567567
568568
const data = await callAdminForthApi({

adminforth/spa/src/components/ResourceListTableVirtual.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@
213213
<button
214214
type="button"
215215
:disabled="rowActionLoadingStates?.[action.id]"
216-
@click.stop.prevent
217216
>
218217
<component
219218
v-if="action.icon"

0 commit comments

Comments
 (0)