fix callable action undo confirmation requirement

This commit is contained in:
shamsmosowi
2022-06-02 10:24:00 +10:00
parent 72f4f742dd
commit c38c3bee0c
2 changed files with 3 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ export default function ActionFab({
row,
handleRun,
});
} else if (action === "undo" && config.undo.confirmation) {
} else if (action === "undo" && config.undo?.confirmation) {
return confirm({
title: `${column.name} Confirmation`,
body: config.undo.confirmation.replace(/\{\{(.*?)\}\}/g, replacer(row)),

View File

@@ -23,12 +23,12 @@ const SideDrawerField = lazy(
export const config: IFieldConfig = {
type: FieldType.reference,
name: "Reference",
group: "Connectors",
group: "Connection",
dataType: "reference",
initialValue: null,
initializable: true,
icon: <SingleSelectIcon />,
description: "Firestore field reference type",
description: "Firestore document reference",
TableCell: withBasicCell(BasicCell),
TableEditor: EditorCell,
SideDrawerField,