fix action SchemaPath ref

This commit is contained in:
shamsmosowi
2021-10-31 15:07:30 +11:00
parent 01c94b5b39
commit f2d630ea1e

View File

@@ -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,
});