Skip to content

Commit e282371

Browse files
fix: show link condn
1 parent c2c9b11 commit e282371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/app/details/cicdHistory/TriggerDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const WorkerStatus = React.memo(
133133
// check if finishedOn time is timed out or not
134134
const isTimedOut = moment(finishedOn).isBefore(moment().subtract(TIMEOUT_VALUE, 'hours'))
135135
// finishedOn is 0001-01-01T00:00:00Z when the worker is still running
136-
const showLink = true || finishedOn === ZERO_TIME_STRING || !isTimedOut
136+
const showLink = finishedOn === ZERO_TIME_STRING || !isTimedOut
137137

138138
return (
139139
<>

0 commit comments

Comments
 (0)