File tree Expand file tree Collapse file tree 2 files changed +9
-43
lines changed
app/client/src/pages/workspace Expand file tree Collapse file tree 2 files changed +9
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import CenteredWrapper from "components/designSystems/appsmith/CenteredWrapper";
88import { GridContainer } from "IDE/Components/LayoutComponents" ;
99import { DataSidePane } from "pages/Editor/DataSidePane/DataSidePane" ;
1010import CreateNewDatasourceTab from "pages/Editor/IntegrationEditor/CreateNewDatasourceTab" ;
11- import WorkspaceDatasourceEditor from "./WorkspaceDatasourceEditor " ;
11+ import DataSourceEditor from "pages/Editor/DataSourceEditor " ;
1212import DatasourceBlankState from "pages/Editor/DataSourceEditor/DatasourceBlankState" ;
1313
1414import { initWorkspaceIDE } from "ee/actions/workspaceIDEActions" ;
@@ -109,11 +109,17 @@ export const WorkspaceDatasourcesPage = (
109109 path = { `${ WORKSPACE_DATASOURCES_URL } /NEW` }
110110 render = { ( ) => < CreateNewDatasourceTab /> }
111111 />
112- { /* Edit existing datasource - use workspace-specific editor */ }
112+ { /* Edit existing datasource - using DataSourceEditor */ }
113113 < SentryRoute
114114 exact
115115 path = { WORKSPACE_DATASOURCE_EDITOR_URL }
116- render = { ( ) => < WorkspaceDatasourceEditor /> }
116+ render = { ( {
117+ match,
118+ } : {
119+ match : { params : { datasourceId : string } } ;
120+ } ) => (
121+ < DataSourceEditor datasourceId = { match . params . datasourceId } />
122+ ) }
117123 />
118124 { /* Default list view - show "Connect a datasource" page by default */ }
119125 < SentryRoute
You can’t perform that action at this time.
0 commit comments