File tree 1 file changed +3
-3
lines changed
console2/src/components/molecules/ProcessStatusTable
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ const kindToDescription = (k: ProcessKind): string => {
48
48
49
49
class ProcessStatusTable extends React . PureComponent < Props > {
50
50
static renderCommitId ( process ?: ProcessEntry ) {
51
- if ( ! process || ! process . commitId ) {
51
+ if ( ! process || ! process . commitId || ! process . repoUrl ) {
52
52
return ' - ' ;
53
53
}
54
54
55
55
return (
56
56
< GitHubLink
57
- url = { process . repoUrl ! }
57
+ url = { process . repoUrl }
58
58
commitId = { process . commitId }
59
59
text = { process . commitId }
60
60
/>
@@ -217,7 +217,7 @@ class ProcessStatusTable extends React.PureComponent<Props> {
217
217
}
218
218
219
219
static renderRepoPath ( process ?: ProcessEntry ) {
220
- if ( ! process || ! process . commitId ) {
220
+ if ( ! process || ! process . commitId || ! process . repoUrl ) {
221
221
return '-' ;
222
222
}
223
223
You can’t perform that action at this time.
0 commit comments