Skip to content

Commit a9b8cd4

Browse files
authored
fix: Info panel not configurable via new ParseDashboard() when running as express middleware (#2639)
1 parent fc02897 commit a9b8cd4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ import { Helmet } from 'react-helmet';
4141
import generatePath from 'lib/generatePath';
4242
import { withRouter } from 'lib/withRouter';
4343
import { get } from 'lib/AJAX';
44-
import { setBasePath } from 'lib/AJAX';
4544

4645
// The initial and max amount of rows fetched by lazy loading
4746
const MAX_ROWS_FETCHED = 200;
@@ -212,7 +211,6 @@ class Browser extends DashboardView {
212211
componentDidMount() {
213212
this.addLocation(this.props.params.appId);
214213
window.addEventListener('mouseup', this.onMouseUpRowCheckBox);
215-
setBasePath('/');
216214
get('/parse-dashboard-config.json').then(data => {
217215
this.setState({ configData: data });
218216
this.classAndCloudFuntionMap(this.state.configData);

0 commit comments

Comments
 (0)