fix sub-table function deploy

This commit is contained in:
Sidney Alcantara
2022-06-15 14:26:52 +10:00
parent 954478617b
commit 0b81f80e6c

View File

@@ -192,7 +192,10 @@ export default function ColumnConfigModal({
route: runRoutes.buildFunction,
body: {
tablePath: tableSettings.collection,
pathname: window.location.pathname,
// pathname must match old URL format
pathname: `/table/${encodeURIComponent(
tableSettings.collection
)}`,
tableConfigPath: getTableSchemaPath(tableSettings),
},
});