Skip to content

Commit

Permalink
chore: fix retryAttemptCheck
Browse files Browse the repository at this point in the history
Signed-off-by: Nastya Rusina <[email protected]>
  • Loading branch information
anrusina committed Apr 2, 2022
1 parent 11adcb1 commit f82c07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Executions/TaskExecutionsList/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { TaskExecution } from 'models/Execution/types';
export function getUniqueTaskExecutionName({ id }: TaskExecution) {
const { name } = id.taskId;
const { retryAttempt } = id;
const suffix = retryAttempt > 0 ? ` (${retryAttempt + 1})` : '';
const suffix = retryAttempt && retryAttempt > 0 ? ` (${retryAttempt + 1})` : '';
return `${name}${suffix}`;
}

Expand Down

0 comments on commit f82c07f

Please sign in to comment.