合并请求列表跳转链接改为number或者id

This commit is contained in:
caishi 2021-11-25 15:29:52 +08:00
parent eff12234fa
commit 633dee9655
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class MergeItem extends Component {
<p className="mb15 df" style={{ alignItems: "center" }}>
<i className={`iconfont icon-hebingqingqiu1 font-14 mr3 i_${status}`}></i>
<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"
style={{ maxWidth: "600px" }}
>