Skip to content

Commit 5a6d6d8

Browse files
committed
fix: removed deletion button from allowance row
1 parent 86ce935 commit 5a6d6d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Tables/Reimbursements/ReimbursementRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function ReimbursementRow({
5757
onDelete,
5858
}: ReimbursementRowProps) {
5959
const status = getStatus(item.isApproved, item.rejectionNote);
60-
const showAdminActions = isAdmin && !item.isApproved;
60+
const showAdminActions = isAdmin && !item.isApproved && !item.rejectionNote;
6161

6262
return (
6363
<TableRow

0 commit comments

Comments
 (0)