Skip to content

Commit b816845

Browse files
author
veedrin
committed
修复工作空间卡片打开仓库链接失效
1 parent ce3ca7d commit b816845

File tree

1 file changed

+1
-1
lines changed
  • app/dashboard/view/workspace/card

1 file changed

+1
-1
lines changed

app/dashboard/view/workspace/card/Card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class Card extends Component {
119119
event.preventDefault();
120120
event.stopPropagation();
121121
const { ownerGlobalKey, repoUrl } = this.props;
122-
const repoHref = `${config.devOrigin}/u/}/p/${repoUrl.split('/').pop().split('.').join('/')}`;
122+
const repoHref = `${config.devOrigin}/u/${ownerGlobalKey}/p/${repoUrl.split('/').pop().split('.').join('/')}`;
123123
window.open(repoHref);
124124
}
125125

0 commit comments

Comments
 (0)