@@ -25,11 +25,6 @@ export function LoopRow({
2525 creatorLookupComplete ?: boolean ;
2626} ) {
2727 const description = loop . description . trim ( ) ;
28- const triggerLabel = loop . triggers . length === 1 ? "trigger" : "triggers" ;
29- const triggerSummary =
30- loop . triggers . length === 0
31- ? "No triggers configured"
32- : `${ loop . triggers . length } ${ triggerLabel } ` ;
3328
3429 let creatorLabel : string | null = null ;
3530 if ( loop . visibility === "team" && creatorError ) {
@@ -46,7 +41,7 @@ export function LoopRow({
4641 : "Created by a former organization member" ;
4742 }
4843
49- const metadata = [ triggerSummary ] ;
44+ const metadata : string [ ] = [ ] ;
5045 const notificationDestinations = summarizeNotificationDestinations (
5146 loop . notifications ,
5247 ) ;
@@ -71,14 +66,16 @@ export function LoopRow({
7166 < Badge color = { loopStatusColor ( loop ) } > { loopStatusLabel ( loop ) } </ Badge >
7267 < Badge color = "gray" > { loop . visibility } </ Badge >
7368 </ Flex >
74- < Text className = "text-[12px] text-gray-11 leading-snug" >
75- { metadata . join ( " · " ) }
76- </ Text >
7769 { description ? (
78- < Text className = "truncate text-[12px] text-gray-10 leading-snug" >
70+ < Text className = "truncate text-[12px] text-gray-11 leading-snug" >
7971 { description }
8072 </ Text >
8173 ) : null }
74+ { metadata . length > 0 ? (
75+ < Text className = "text-(--accent-11) text-[11px] leading-snug" >
76+ { metadata . join ( " · " ) }
77+ </ Text >
78+ ) : null }
8279 </ Flex >
8380 </ Flex >
8481 < Flex align = "center" gap = "3" className = "shrink-0" >
0 commit comments