fix: inbox issue header quick action validation (#4344)

This commit is contained in:
Anmol Singh Bhatia 2024-05-03 14:17:21 +05:30 committed by GitHub
parent 091fdb89ac
commit 2884b0e22e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -292,6 +292,8 @@ export const InboxIssueActionsHeader: FC<TInboxIssueActionsHeader> = observer((p
</ControlLink> </ControlLink>
</div> </div>
) : ( ) : (
<>
{isAllowed && (
<CustomMenu verticalEllipsis placement="bottom-start"> <CustomMenu verticalEllipsis placement="bottom-start">
{canMarkAsAccepted && ( {canMarkAsAccepted && (
<CustomMenu.MenuItem onClick={() => setIsSnoozeDateModalOpen(true)}> <CustomMenu.MenuItem onClick={() => setIsSnoozeDateModalOpen(true)}>
@ -319,6 +321,8 @@ export const InboxIssueActionsHeader: FC<TInboxIssueActionsHeader> = observer((p
)} )}
</CustomMenu> </CustomMenu>
)} )}
</>
)}
</div> </div>
</div> </div>
</div> </div>