From a8563e9e449e19bbd9e1342f1213e69e8e2d0eba Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Tue, 7 Apr 2020 15:57:41 +0800 Subject: [PATCH] bug --- .idea/workspace.xml | 161 +++++++++++++++++++-------------------- src/forge/Main/Detail.js | 4 +- 2 files changed, 81 insertions(+), 84 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 89b18ea8f..f93051f77 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,8 @@ - + + - + - - + + - + @@ -330,7 +330,7 @@ - + @@ -736,46 +736,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -786,57 +746,94 @@ - + - - + + + + + - + - - + + + + + + + + + + + + - - + - + + + + + + + + + + + + + + + + + - + - + - - + + - - - + + + + + + + + + + + + diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 0513c90bc..dca9dbd70 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -245,8 +245,8 @@ class Detail extends Component{ if (result) { if (result.data.status === 0) { this.props.history.push(`/projects/${result.data.id}/coders`); + this.props.showNotification(result.data.message); } - this.props.showNotification(result.data.message); this.setState({ isSpin:false }) @@ -322,7 +322,7 @@ class Detail extends Component{ { projectDetail && projectDetail.forked_from_project_id && projectDetail.fork_info ?
- Forked From + forked from {projectDetail.fork_info.fork_project_user_name} /