Skip to content
Snippets Groups Projects
Commit 679fc9b6 authored by Ramesh Kumar's avatar Ramesh Kumar
Browse files

TMSS-1983: Resolved Conflicts

parent 99426793
No related branches found
No related tags found
1 merge request!968Resolve TMSS-1932, TMSS-1983
......@@ -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});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment