mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-28 16:06:41 +01:00
pass tablepath to funcition builder
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
"yup": "^0.32.9"
|
||||
},
|
||||
"scripts": {
|
||||
"upstream": "git fetch upstream;git merge upstream/v2;git push",
|
||||
"upstream": "git fetch upstream;git merge upstream/v2;git commit -m'merge upstream';git push",
|
||||
"serve": "serve -s build",
|
||||
"start": "craco start",
|
||||
"build": "craco build",
|
||||
|
||||
@@ -128,8 +128,8 @@ export default function FieldSettings(props: IMenuModalProps) {
|
||||
rowyRun({
|
||||
route: RunRoutes.buildFunction,
|
||||
body: {
|
||||
triggerPath: "demoAllFieldTypes/{docId}",
|
||||
// configPath: tableState?.config.tableConfig.path,
|
||||
tablePath: tableState?.tablePath,
|
||||
pathname: window.location.pathname,
|
||||
},
|
||||
params: [],
|
||||
});
|
||||
|
||||
@@ -90,7 +90,8 @@ export default function ExtensionsEditor() {
|
||||
rowyRun({
|
||||
route: RunRoutes.buildFunction,
|
||||
body: {
|
||||
triggerPath: "",
|
||||
tablePath: tableState?.tablePath,
|
||||
pathname: window.location.pathname,
|
||||
},
|
||||
});
|
||||
analytics.logEvent("deployed_extensions");
|
||||
|
||||
@@ -255,7 +255,7 @@ const useTableData = () => {
|
||||
} catch (error: any) {
|
||||
console.log(error);
|
||||
if (error.code === "permission-denied") {
|
||||
enqueueSnackbar("You do not have the permissions to delete rows.", {
|
||||
enqueueSnackbar("You do not have the permissions to delete this row.", {
|
||||
variant: "error",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user