Skip to content

Commit 2c85362

Browse files
committed
fix for discussions reload on thread change
1 parent 5b137d6 commit 2c85362

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/projects/detail/ProjectDetail.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ProjectDetail extends Component {
4848
this.props.loadProjectDashboard(projectId)
4949
}
5050

51-
componentWillReceiveProps({isProcessing, isLoading, error, project, match, location}) {
51+
componentWillReceiveProps({isProcessing, isLoading, error, project, match}) {
5252
// handle just deleted projects
5353
if (! (error || isLoading || isProcessing) && _.isEmpty(project))
5454
this.props.history.push('/projects/')

src/projects/routes.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const projectRoutes = (
3838
path="/projects"
3939
render={() => (
4040
<Switch>
41-
<Route path="/projects/:projectId/attachments/:attachmentId" render={renderApp(<FileDownloadWithAuth />, null)} />
4241
<Route path="/projects/:projectId" render={renderApp(<TopBarContainer toolbar={ProjectToolBar} />, <ProjectDetailWithAuth />)} />
4342
<Route path="/projects" render={renderApp(<TopBarContainer toolbar={ProjectsToolBar} />, <ProjectsWithAuth />)} />
4443
</Switch>

0 commit comments

Comments
 (0)