From 66721273739e7a462355972c9f10ad2673e612aa Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Mon, 19 Oct 2026 12:00:05 -0700 Subject: [PATCH] merge completion on click --- mac/Sources/Byre/Chat.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mac/Sources/Byre/Chat.swift b/mac/Sources/Byre/Chat.swift index 0286486..2a1f187 100644 --- a/mac/Sources/Byre/Chat.swift +++ b/mac/Sources/Byre/Chat.swift @@ -305,7 +305,8 @@ final class ChatModel { return [] } let latest = latestReview(store.transcript) - let active = store.findTask(taskId)?.status == .active + let task = store.findTask(taskId) + let active = task.map { $0.status == .active && !$0.merging && !$0.mergingIntoParent && $0.mergeQueuedAt == nil && !$0.mergeAfterReview } ?? false var questions: [Int] = [] var open: [Int] = [] var ready: [Int] = []