fix: inbox mutation fixes (#1324)
* chore: inbox status update mutation * fix: inbox issue activity mutation * refactor: code structure * chore: snoozed status message * chore: disable older dates for snoozing * chore: extend snooze time * chore: hide copy link from inbox
This commit is contained in:
parent
cf8c902473
commit
7d29a89eed
8 changed files with 101 additions and 42 deletions
|
|
@ -101,7 +101,13 @@ export const InboxIssueCard: React.FC<Props> = (props) => {
|
|||
</div>
|
||||
</Tooltip>
|
||||
{issue.issue_inbox[0].snoozed_till && (
|
||||
<div className="text-xs flex items-center gap-1 text-brand-accent">
|
||||
<div
|
||||
className={`text-xs flex items-center gap-1 ${
|
||||
new Date(issue.issue_inbox[0].snoozed_till ?? "") < new Date()
|
||||
? "text-red-500"
|
||||
: "text-blue-500"
|
||||
}`}
|
||||
>
|
||||
<ClockIcon className="h-3.5 w-3.5" />
|
||||
<span>
|
||||
Snoozed till {renderShortNumericDateFormat(issue.issue_inbox[0].snoozed_till)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue