From ae12618c0cc93a9e195df15a72758b53547942a4 Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Mon, 25 Oct 2021 10:45:40 +0800
Subject: [PATCH 1/6] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E9=93=BE=E6=8E=A5?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/Detail.js | 5 -----
src/forge/Main/IndexItem.js | 2 +-
src/forge/Settings/Setting.js | 5 +++++
src/forge/Team/ListItem.jsx | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js
index 06d2fc44b..b4d17a81c 100644
--- a/src/forge/Main/Detail.js
+++ b/src/forge/Main/Detail.js
@@ -508,11 +508,6 @@ class Detail extends Component {
this.textFunc(projectDetail.forked_from_project_id, projectDetail.fork_info)
: ""
}
- {
- projectDetail && projectDetail.type && projectDetail.type !== 0 ?
- 导入于 {projectDetail.mirror_url}
- : ""
- }
diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js
index 0cba9123e..15d7990ba 100644
--- a/src/forge/Main/IndexItem.js
+++ b/src/forge/Main/IndexItem.js
@@ -55,7 +55,7 @@ class IndexItem extends Component {
{
item.type && item.type === 1 ?
-
+
:""
}
diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js
index deccb3daf..86383fc79 100644
--- a/src/forge/Settings/Setting.js
+++ b/src/forge/Settings/Setting.js
@@ -267,6 +267,11 @@ class Setting extends Component {
},
],
})(
)}
+ {
+ projectDetail && projectDetail.type && projectDetail.type !== 0 ?
+
该项目导入于 {projectDetail.mirror_url}
+ : ""
+ }
可见性
diff --git a/src/forge/Team/ListItem.jsx b/src/forge/Team/ListItem.jsx
index a908f80bb..a1f4fa89b 100644
--- a/src/forge/Team/ListItem.jsx
+++ b/src/forge/Team/ListItem.jsx
@@ -16,7 +16,7 @@ function ListItem({item,key,OIdentifier}) {
:
-
+
:""
}
From 0e6cb3954a816504495e98fae58b1b190d396cac Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Mon, 25 Oct 2021 11:09:13 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=A1=B5icon=E6=9B=B4?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/IndexItem.js | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js
index 15d7990ba..4ddd76330 100644
--- a/src/forge/Main/IndexItem.js
+++ b/src/forge/Main/IndexItem.js
@@ -52,12 +52,6 @@ class IndexItem extends Component {
:""
}
- {
- item.type && item.type === 1 ?
-
-
- :""
- }
{
From aeff357660ace0991da45c8493db7f9af519dd26 Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Mon, 25 Oct 2021 11:09:41 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=A1=B5icon=E6=9B=B4?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/IndexItem.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js
index 4ddd76330..15d7990ba 100644
--- a/src/forge/Main/IndexItem.js
+++ b/src/forge/Main/IndexItem.js
@@ -52,6 +52,12 @@ class IndexItem extends Component {
:""
}
+ {
+ item.type && item.type === 1 ?
+
+
+ :""
+ }
{
From 60da6bd110d55a9ee10ee43a638c2bd1fb15b7f1 Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Mon, 25 Oct 2021 15:46:57 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E9=93=BE=E6=8E=A5?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Team/ListItem.jsx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/forge/Team/ListItem.jsx b/src/forge/Team/ListItem.jsx
index a1f4fa89b..8ccfdda23 100644
--- a/src/forge/Team/ListItem.jsx
+++ b/src/forge/Team/ListItem.jsx
@@ -15,9 +15,7 @@ function ListItem({item,key,OIdentifier}) {
:
-
-
- :""
+ :""
}
From 7872d5ecab95974de47fd50782ec1d6fefe95f8c Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Mon, 25 Oct 2021 15:56:06 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E9=93=BE=E6=8E=A5?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/IndexItem.js | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js
index 15d7990ba..4ddd76330 100644
--- a/src/forge/Main/IndexItem.js
+++ b/src/forge/Main/IndexItem.js
@@ -52,12 +52,6 @@ class IndexItem extends Component {
:""
}
- {
- item.type && item.type === 1 ?
-
-
- :""
- }
{
From 746f552a21dc5e2d5451cf6aa508fc81974b1f44 Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Mon, 25 Oct 2021 16:37:50 +0800
Subject: [PATCH 6/6] issue
---
src/forge/Team/ListItem.jsx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/forge/Team/ListItem.jsx b/src/forge/Team/ListItem.jsx
index 8ccfdda23..ab9d64f27 100644
--- a/src/forge/Team/ListItem.jsx
+++ b/src/forge/Team/ListItem.jsx
@@ -10,12 +10,10 @@ function ListItem({item,key,OIdentifier}) {
{item.name}
{ item.forked_from_project_id && }
{
- item.type && item.type !== 0 ?
- item.type === 2 ?
+ item.type && item.type === 2 ?
- :
- :""
+ :""
}