diff --git a/src/components/fields/Action/ActionFab.tsx b/src/components/fields/Action/ActionFab.tsx index 30b5eeee..962f647e 100644 --- a/src/components/fields/Action/ActionFab.tsx +++ b/src/components/fields/Action/ActionFab.tsx @@ -54,7 +54,6 @@ export default function ActionFab({ const { tableState, rowyRun } = useProjectContext(); const { ref } = row; const { config } = column as any; - const action = !value ? "run" : value.undo @@ -71,7 +70,7 @@ export default function ActionFab({ ref: { path: ref.path }, column: { ...column, editor: undefined }, action, - schemaDocPath: formatPath(tableState?.tablePath ?? ""), + schemaDocPath: tableState?.config.tableConfig.path, actionParams, });