Fix branch query cwd for worktree threads and error banner light mode
Use worktree path instead of project cwd for git branch queries so worktree threads correctly report their branch as current. Also update error banner to use semantic color tokens for light mode support. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
1 parent
c5cbe15993
commit
6ce773ff1e
1 file changed
+1
-1
@@ -649,7 +649,7 @@ export default function ChatView() {
|
||||
|
||||
{/* Error banner */}
|
||||
{activeThread.error && (
|
||||
<div className="mx-4 mt-3 rounded-lg border border-rose-400/20 bg-rose-900/20 px-3 py-2 text-xs text-rose-200">
|
||||
<div className="mx-4 mt-3 rounded-lg border border-destructive/20 bg-destructive/10 px-3 py-2 text-xs text-destructive">
|
||||
{activeThread.error}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user