File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ export const Details = ({
385
385
artifact = { triggerDetails . artifact }
386
386
environmentName = { triggerDetails . environmentName }
387
387
isJobView = { isJobView }
388
- workerPodName = { triggerDetails . name }
388
+ workerPodName = { triggerDetails . podName }
389
389
/>
390
390
< ul className = "tab-list dc__border-bottom pl-20 pr-20" >
391
391
< li className = "tab-list__tab" >
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ const WorkerStatus = React.memo(
133
133
// check if finishedOn time is timed out or not
134
134
const isTimedOut = moment ( finishedOn ) . isBefore ( moment ( ) . subtract ( TIMEOUT_VALUE , 'hours' ) )
135
135
// finishedOn is 0001-01-01T00:00:00Z when the worker is still running
136
- const showLink = finishedOn === ZERO_TIME_STRING || ! isTimedOut
136
+ const showLink = workerPodName && ( finishedOn === ZERO_TIME_STRING || ! isTimedOut )
137
137
138
138
return (
139
139
< >
@@ -143,8 +143,8 @@ const WorkerStatus = React.memo(
143
143
{ stage === 'DEPLOY' ? (
144
144
< div className = "mr-10" > Message</ div >
145
145
) : showLink ? (
146
- < NavLink to = { `${ WORKER_POD_BASE_URL } /${ workerPodName } /logs` } className = "anchor" >
147
- < div className = "mr-10" > Worker </ div >
146
+ < NavLink to = { `${ WORKER_POD_BASE_URL } /${ workerPodName } /logs` } target = "_blank" className = "anchor" >
147
+ < div className = "mr-10" > View worker pod </ div >
148
148
</ NavLink >
149
149
) : (
150
150
< div className = "mr-10" > Worker</ div >
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export interface History {
13
13
name : string
14
14
status : string
15
15
podStatus : string
16
+ podName : string
16
17
message : string
17
18
startedOn : string
18
19
finishedOn : string
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ export function WebhookDetailsModal({ close }: WebhookDetailType) {
379
379
return (
380
380
< div >
381
381
< div className = "cn-7 mt-16 mb-8 fs-13" > { titlePrefix } API token</ div >
382
- < div className = "fs-13 font-roboto flexbox dc__word-break" >
382
+ < div className = "fs-13 font-roboto flexbox dc__word-break pl-8-imp " >
383
383
{ token }
384
384
< Tippy
385
385
className = "default-tt"
You can’t perform that action at this time.
0 commit comments