feat: update recipient expiry handling

This commit is contained in:
Ephraim Atta-Duncan
2024-11-17 22:57:40 +00:00
parent ba627e22c5
commit 2d7988f484
6 changed files with 90 additions and 5 deletions

View File

@ -101,6 +101,8 @@ export const ResendDocumentActionItem = ({
setIsOpen(false);
} catch (err) {
console.log(err);
toast({
title: _(msg`Something went wrong`),
description: _(msg`This document could not be re-sent at this time. Please try again.`),

View File

@ -41,10 +41,8 @@ export const StackAvatar = ({ first, zIndex, fallbackText = '', type }: StackAva
classes = 'bg-documenso-200 text-documenso-800';
break;
case RecipientStatusType.REJECTED:
classes = 'bg-red-200 text-red-800';
break;
case RecipientStatusType.EXPIRED:
classes = 'bg-gray-200 text-gray-700';
classes = 'bg-red-200 text-red-800';
break;
default: