From 663443b57771cd1c619ea8c3c4206bb841fab18e Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Mon, 23 Sep 2019 11:22:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=8E=A7=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/page/main/CodeRepositoryView.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/public/react/src/modules/page/main/CodeRepositoryView.js b/public/react/src/modules/page/main/CodeRepositoryView.js
index 74a170406..bae058dcd 100644
--- a/public/react/src/modules/page/main/CodeRepositoryView.js
+++ b/public/react/src/modules/page/main/CodeRepositoryView.js
@@ -474,7 +474,9 @@ class CodeRepositoryView extends Component {
- { challenge.pathIndex !== -1 && game.status === 2 && tabIndex === 0 &&
+ { challenge.pathIndex !== -1 && game.status === 2 && tabIndex === 0 &&
+ this.props.readRepoTimeout !== true &&
+
@@ -482,7 +484,7 @@ class CodeRepositoryView extends Component {
}
{
- challenge.pathIndex !== -1 && tabIndex === 0 &&
+ challenge.pathIndex !== -1 && tabIndex === 0 && this.props.readRepoTimeout !== true &&
@@ -491,7 +493,7 @@ class CodeRepositoryView extends Component {
}
{
- tabIndex === 0 &&
+ tabIndex === 0 && this.props.readRepoTimeout !== true &&
showSettingDrawer(true)}>