chore: decline issue mutation (#1354)
This commit is contained in:
parent
a0ae569a68
commit
2cef6e67d4
2 changed files with 10 additions and 74 deletions
|
|
@ -194,6 +194,11 @@ const ProjectInbox: NextPage = () => {
|
|||
isOpen={declineIssueModal}
|
||||
handleClose={() => setDeclineIssueModal(false)}
|
||||
data={inboxIssues?.find((i) => i.bridge_id === inboxIssueId)}
|
||||
onSubmit={async () => {
|
||||
await markInboxStatus({
|
||||
status: -1,
|
||||
}).finally(() => setDeclineIssueModal(false));
|
||||
}}
|
||||
/>
|
||||
<DeleteIssueModal
|
||||
isOpen={deleteIssueModal}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue