Skip to content

Commit d737aea

Browse files
committed
fix: update inline action button visibility in GitView — ensure buttons are only shown when not staged and in local mode
1 parent aa9ccaf commit d737aea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/views/git-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ export function GitView() {
10161016
)}
10171017
{/* Inline action buttons — visible on hover */}
10181018
<div className="hidden group-hover:flex items-center gap-0.5 shrink-0">
1019-
{isLocalMode && entry.source === 'git' && (
1019+
{!staged && isLocalMode && entry.source === 'git' && (
10201020
<button
10211021
onClick={(e) => {
10221022
e.stopPropagation()

0 commit comments

Comments
 (0)