Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Made1ra committed Dec 16, 2024
1 parent ea7658d commit 312f7a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const columns: TableColumn<Cooperation>[] = [
label: 'cooperationsPage.tableHeaders.status',
calculatedCellValue: ({ user, needAction, status }: Cooperation) => {
const cooperationStatus =
user.role !== needAction.role && status === StatusEnum.Pending
user.role !== needAction?.role && status === StatusEnum.Pending
? StatusEnum.NeedAction
: status
return <StatusChip status={cooperationStatus} />
Expand Down

0 comments on commit 312f7a6

Please sign in to comment.