diff --git a/SAS/TMSS/frontend/tmss_webapp/src/layout/components/AppMenu.js b/SAS/TMSS/frontend/tmss_webapp/src/layout/components/AppMenu.js index 40bce7ddc3c0b53cd7edff35502ded3b742ec62a..ce2e298d3eeb27126b46c0e580920cb447ce8c09 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/layout/components/AppMenu.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/layout/components/AppMenu.js @@ -67,16 +67,11 @@ class AppSubmenu extends Component { if (!this.props.items) { return; } -<<<<<<< HEAD let pathname = window.location.pathname; if (_.includes(pathname, '/api') && !pathname.endsWith("/")) { pathname = pathname + '/'; window.location.replace(pathname); } -======= - const pathname = window.location.pathname; - console.log(pathname); ->>>>>>> master for (let i = 0; i < this.props.items.length; i++) { if (pathname.indexOf(this.props.items[i].section) > -1) { this.setState({activeIndex: i});