diff --git a/ui/src/pages/IssueDetail.tsx b/ui/src/pages/IssueDetail.tsx
index 7c80eb71..f62d3264 100644
--- a/ui/src/pages/IssueDetail.tsx
+++ b/ui/src/pages/IssueDetail.tsx
@@ -1218,7 +1218,9 @@ export function IssueDetail() {
const isImageAttachment = (attachment: IssueAttachment) => attachment.contentType.startsWith("image/");
const attachmentList = attachments ?? [];
const imageAttachments = attachmentList.filter(isImageAttachment);
+ const nonImageAttachments = attachmentList.filter((a) => !isImageAttachment(a));
const hasAttachments = attachmentList.length > 0;
+ const [confirmDeleteId, setConfirmDeleteId] = useState
Delete?
+- {attachment.contentType} · {(attachment.byteSize / 1024).toFixed(1)} KB -
- {isImageAttachment(attachment) && ( - - )} -+ {attachment.contentType} · {(attachment.byteSize / 1024).toFixed(1)} KB +
+