diff --git a/ui/src/pages/Inbox.tsx b/ui/src/pages/Inbox.tsx
index 521bdf58..149bd292 100644
--- a/ui/src/pages/Inbox.tsx
+++ b/ui/src/pages/Inbox.tsx
@@ -137,11 +137,40 @@ function FailedRunInboxRow({
className,
)}>
+ {showUnreadSlot ? (
+
+ {showUnreadDot ? (
+
+ ) : onArchive ? (
+
+ ) : (
+
+ )}
+
+ ) : null}
-
+ {!showUnreadSlot && }
@@ -190,35 +219,6 @@ function FailedRunInboxRow({
)}
- {showUnreadSlot && (
-
- {showUnreadDot ? (
-
- ) : onArchive ? (
-
- ) : (
-
- )}
-
- )}
{showResolutionButtons ? (
@@ -414,8 +414,37 @@ function JoinRequestInboxRow({
className,
)}>
+ {showUnreadSlot ? (
+
+ {showUnreadDot ? (
+
+
+
+ ) : onArchive ? (
+
+
+
+ ) : (
+
+ )}
+
+ ) : null}
-
+ {!showUnreadSlot && }
@@ -449,35 +478,6 @@ function JoinRequestInboxRow({
Reject
- {showUnreadSlot && (
-
- {showUnreadDot ? (
- { e.preventDefault(); e.stopPropagation(); onMarkRead?.(); }}
- className="inline-flex h-4 w-4 items-center justify-center rounded-full transition-colors hover:bg-blue-500/20"
- aria-label="Mark as read"
- >
-
-
- ) : onArchive ? (
- { e.preventDefault(); e.stopPropagation(); onArchive(); }}
- disabled={archiveDisabled}
- className="inline-flex h-4 w-4 items-center justify-center rounded-md text-muted-foreground opacity-0 transition-opacity hover:text-foreground group-hover:opacity-100 disabled:pointer-events-none disabled:opacity-30"
- aria-label="Dismiss from inbox"
- >
-
-
- ) : (
-
- )}
-
- )}