合并请求列表跳转链接改为number或者id
This commit is contained in:
parent
eff12234fa
commit
633dee9655
|
@ -62,7 +62,7 @@ class MergeItem extends Component {
|
||||||
<p className="mb15 df" style={{ alignItems: "center" }}>
|
<p className="mb15 df" style={{ alignItems: "center" }}>
|
||||||
<i className={`iconfont icon-hebingqingqiu1 font-14 mr3 i_${status}`}></i>
|
<i className={`iconfont icon-hebingqingqiu1 font-14 mr3 i_${status}`}></i>
|
||||||
<Link
|
<Link
|
||||||
to={`/${owner}/${projectsId}/pulls/${item.pull_request_id}`}
|
to={`/${owner}/${projectsId}/pulls/${item.pull_request_number || item.pull_request_id}`}
|
||||||
className="hide-1 font-15 color-grey-3 fwb lineh-30 mr10"
|
className="hide-1 font-15 color-grey-3 fwb lineh-30 mr10"
|
||||||
style={{ maxWidth: "600px" }}
|
style={{ maxWidth: "600px" }}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue