This commit is contained in:
Andrew Pareles 2025-03-20 06:03:37 -07:00
parent dafc509fa1
commit cffe053226

View file

@ -208,10 +208,7 @@ const VoidCommandBar = ({ uri, editor }: { uri: URI | null, editor: ICodeEditor
File {currUriIdx + 1} of {sortedCommandBarURIs.length}
</div>}
{currDiffIdx !== null && sortedDiffIds?.length && <div>
{(sortedDiffIds?.length ?? 0) === 0 ?
<>Diff {currDiffIdx + 1} of {sortedDiffIds?.length ?? 0}</>
: <>(No changes)</>}
Diff {currDiffIdx + 1} of {sortedDiffIds?.length ?? 0}
</div>}
</div>
</div >