Skip to content

Commit 716bdb6

Browse files
authored
fix default home issue (#588)
1 parent 07f9794 commit 716bdb6

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/components/breadcrumb/breadcrumb.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ class Breadcrumb extends React.Component {
1313
}
1414
};
1515

16-
solutionPatternsClicked = () => {
17-
const { solutionPatternsClickedCallback } = this.props;
18-
this.props.history.push('/home/solution-patterns');
19-
if (solutionPatternsClickedCallback) {
20-
solutionPatternsClickedCallback();
21-
}
22-
};
23-
2416
render() {
2517
const { t, threadName, threadId, totalTasks, taskPosition, isAllSolutionPattern } = this.props;
2618
return (

src/pages/landing/landingPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class LandingPage extends React.Component {
7575
}
7676

7777
handleLoad(event) {
78-
if (window.location.href.indexOf('solution') > -1) {
78+
if (window.location.href.indexOf('/solution-patterns') > -1) {
7979
this.setState({ activeTabKey: 1 });
8080
document.getElementById('pf-tab-1-solutionPatternsTab').click();
8181
}

0 commit comments

Comments
 (0)