# Files changed · PR \#23893 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/23893/diffs)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

[fix\(web\): mark the selected diff scope in its menu](https://git.cafe/pingdotgg/t3code/pull/23893.md)

Version: 7

Head commit: 622b9c27da437082d7e8accf7972407e756caf95

Base commit: 200dad3b39aa9c2562b4bae54106ab8acdcc4163

Comparison base: 200dad3b39aa9c2562b4bae54106ab8acdcc4163

Showing up to 20 entries from this revision. If the pull request changes, reopen the first page before continuing.

## apps/web/src/components/DiffPanel.tsx

Status: modified; +14; −3

```diff
@@ -76,6 +76,7 @@
   DropdownMenuContent,
   DropdownMenuRadioGroup,
   DropdownMenuRadioItem,
+  MenuRadioItemIndicator,
   DropdownMenuSub,
   DropdownMenuSubContent,
   DropdownMenuSubTrigger,
@@ -676,13 +677,22 @@
           <DropdownMenuContent align="start">
             <DropdownMenuRadioGroup value={selectedScopeValue} onValueChange={selectScopeValue}>
               <DropdownMenuRadioItem value="branch" closeOnClick>
+                <span className="flex items-center justify-between gap-2">
+                  <span>Changes</span>
+                  <MenuRadioItemIndicator />
+                </span>
-                <span>Changes</span>
               </DropdownMenuRadioItem>
               <DropdownMenuRadioItem value="unstaged" closeOnClick>
+                <span className="flex items-center justify-between gap-2">
+                  <span>Uncommitted</span>
+                  <MenuRadioItemIndicator />
-                <span>Uncommitted</span>
+                </span>
               </DropdownMenuRadioItem>
               <DropdownMenuRadioItem value="latest" closeOnClick>
-                <span>Latest turn</span>
+                <span className="flex items-center justify-between gap-2">
+                  <span>Latest turn</span>
+                  <MenuRadioItemIndicator />
+                </span>
               </DropdownMenuRadioItem>
             </DropdownMenuRadioGroup>
             <DropdownMenuSub>
@@ -702,6 +712,7 @@
                           <span className="ml-auto text-xs tabular-nums text-muted-foreground">
                             {formatShortTimestamp(summary.completedAt, settings.timestampFormat)}
                           </span>
+                          <MenuRadioItemIndicator />
                         </span>
                       </DropdownMenuRadioItem>
                     );
```
