This repository was archived by the owner on May 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,13 @@ function CommitChange(props: CommitChangeProps): JSX.Element {
171
171
172
172
return (
173
173
< span >
174
- < a href = { props . commit . htmlUrl } className = "gitploy-link" > < strong > { message } </ strong > </ a >
174
+ < a
175
+ href = { props . commit . htmlUrl }
176
+ target = "_blank"
177
+ className = "gitploy-link"
178
+ >
179
+ < strong > { message } </ strong >
180
+ </ a >
175
181
{ ( description . length ) ?
176
182
< Button size = "small" type = "text" onClick = { onClickHide } >
177
183
< Text className = "gitploy-code" code > ...</ Text >
Original file line number Diff line number Diff line change @@ -15,12 +15,13 @@ export default function DeploymentStatusSteps(props: DeploymentStatusStepsProps)
15
15
{ props . statuses . map ( ( status , idx ) => {
16
16
return (
17
17
< Timeline . Item
18
+ key = { idx }
18
19
color = { getStatusColor ( status . status ) }
19
20
style = { ( idx === props . statuses . length - 1 ) ? { paddingBottom : 0 } : { } }
20
21
>
21
22
< Paragraph style = { { margin : 0 } } >
22
23
< Text strong > { status . description } </ Text >
23
- { ( status . logUrl !== "" ) ? < Link href = { status . logUrl } > View</ Link > : < > </ > } < br />
24
+ { ( status . logUrl !== "" ) ? < Link href = { status . logUrl } target = "_blank" > View</ Link > : < > </ > } < br />
24
25
< Text > Updated</ Text > < Text code className = "gitploy-code" > { status . status } </ Text > < Text > at { moment ( status . createdAt ) . format ( 'HH:mm:ss' ) } </ Text >
25
26
</ Paragraph >
26
27
</ Timeline . Item >
Original file line number Diff line number Diff line change @@ -146,9 +146,7 @@ export default function DeploymentView(): JSX.Element {
146
146
< Breadcrumb . Item > Deployments</ Breadcrumb . Item >
147
147
< Breadcrumb . Item > { number } </ Breadcrumb . Item >
148
148
</ Breadcrumb > }
149
- extra = { [
150
- reviewBtn ,
151
- ] }
149
+ extra = { reviewBtn }
152
150
onBack = { onBack }
153
151
/>
154
152
</ div >
You can’t perform that action at this time.
0 commit comments