@@ -83,7 +83,7 @@ export default function Dashboard() {
8383 ? ( activity . data ?. author ?. name || activity . data ?. author ?. ename || activity . data ?. author ?. handle || 'Unknown' )
8484 : activity . target ,
8585 date : new Date ( activity . date ) . toLocaleDateString ( ) ,
86- status : activity . status || 'Signed ' ,
86+ status : activity . status || 'Unknown ' ,
8787 referenceType : referenceData ?. referenceType || 'general' ,
8888 content : referenceData ?. content || 'Reference content not available' ,
8989 targetType : referenceData ?. targetType || 'user'
@@ -103,7 +103,7 @@ export default function Dashboard() {
103103 ? ( activity . data ?. author ?. name || activity . data ?. author ?. ename || activity . data ?. author ?. handle || 'Unknown' )
104104 : activity . target ,
105105 date : new Date ( activity . date ) . toLocaleDateString ( ) ,
106- status : activity . status || 'Signed ' ,
106+ status : activity . status || 'Unknown ' ,
107107 referenceType : referenceData ?. referenceType || 'general' ,
108108 content : referenceData ?. content || 'Reference content not available' ,
109109 targetType : referenceData ?. targetType || 'user'
@@ -545,11 +545,11 @@ export default function Dashboard() {
545545 { activity . type === 'reference' || activity . activity === 'Reference Provided' || activity . activity === 'Reference Received' ? (
546546 < span className = "inline-flex items-center justify-center px-3 py-1 rounded-full text-xs font-black bg-white border-2 w-20 h-7"
547547 style = { {
548- borderColor : activity . status === 'Revoked' ? '#ef4444' : '#22c55e' ,
549- backgroundColor : activity . status === 'Revoked' ? '#fef2f2' : '#f0fdf4' ,
550- color : activity . status === 'Revoked' ? '#dc2626' : '#15803d'
548+ borderColor : activity . status === 'Revoked' ? '#ef4444' : activity . status === 'Pending' ? '#f59e0b' : '#22c55e' ,
549+ backgroundColor : activity . status === 'Revoked' ? '#fef2f2' : activity . status === 'Pending' ? '#fffbeb' : '#f0fdf4' ,
550+ color : activity . status === 'Revoked' ? '#dc2626' : activity . status === 'Pending' ? '#d97706' : '#15803d'
551551 } } >
552- { activity . status === 'Revoked' ? 'revoked' : activity . status === 'Signed ' ? 'signed ' : 'signed' }
552+ { activity . status === 'Revoked' ? 'revoked' : activity . status === 'Pending ' ? 'pending ' : 'signed' }
553553 </ span >
554554 ) : (
555555 < span
@@ -633,11 +633,11 @@ export default function Dashboard() {
633633 { activity . type === 'reference' || activity . activity === 'Reference Provided' || activity . activity === 'Reference Received' ? (
634634 < span className = "inline-flex items-center justify-center px-2 py-1 rounded-full text-xs font-black bg-white border-2"
635635 style = { {
636- borderColor : activity . status === 'Revoked' ? '#ef4444' : '#22c55e' ,
637- backgroundColor : activity . status === 'Revoked' ? '#fef2f2' : '#f0fdf4' ,
638- color : activity . status === 'Revoked' ? '#dc2626' : '#15803d'
636+ borderColor : activity . status === 'Revoked' ? '#ef4444' : activity . status === 'Pending' ? '#f59e0b' : '#22c55e' ,
637+ backgroundColor : activity . status === 'Revoked' ? '#fef2f2' : activity . status === 'Pending' ? '#fffbeb' : '#f0fdf4' ,
638+ color : activity . status === 'Revoked' ? '#dc2626' : activity . status === 'Pending' ? '#d97706' : '#15803d'
639639 } } >
640- { activity . status === 'Revoked' ? 'revoked' : activity . status === 'Signed ' ? 'signed ' : 'signed' }
640+ { activity . status === 'Revoked' ? 'revoked' : activity . status === 'Pending ' ? 'pending ' : 'signed' }
641641 </ span >
642642 ) : (
643643 < span className = "inline-flex items-center justify-center px-2 py-1 rounded-full text-xs font-black bg-white border-2"
0 commit comments