diff --git a/src/components/ColumnModals/ColumnConfigModal/ColumnConfig.tsx b/src/components/ColumnModals/ColumnConfigModal/ColumnConfig.tsx index 93416c69..6d536bd0 100644 --- a/src/components/ColumnModals/ColumnConfigModal/ColumnConfig.tsx +++ b/src/components/ColumnModals/ColumnConfigModal/ColumnConfig.tsx @@ -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), }, });