forked from farhoodlabs/paperclip
Add generic issue-linked board approvals
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -123,6 +123,9 @@ export function Approvals() {
|
||||
onReject={() => rejectMutation.mutate(approval.id)}
|
||||
detailLink={`/approvals/${approval.id}`}
|
||||
isPending={approveMutation.isPending || rejectMutation.isPending}
|
||||
pendingAction={
|
||||
approveMutation.isPending ? "approve" : rejectMutation.isPending ? "reject" : null
|
||||
}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user