diff --git a/src/Augmentation/ui/SourceFiles.tsx b/src/Augmentation/ui/SourceFiles.tsx index 53c9e9102..f649d3890 100644 --- a/src/Augmentation/ui/SourceFiles.tsx +++ b/src/Augmentation/ui/SourceFiles.tsx @@ -111,7 +111,12 @@ export function SourceFilesElement(): React.ReactElement { const maxLevel = getMaxLevel(sfObj); return ( - setSelectedSf(e)} selected={selectedSf === e} sx={{ py: 0 }}> + setSelectedSf(e)} + selected={selectedSf.n === e.n} + sx={{ py: 0 }} + > {sfObj.name}}