mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
draft
This commit is contained in:
parent
ca3acb0d30
commit
4c511f0c32
1 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@ export const VoidCommandBar = ({ uri, editor }: VoidCommandBarProps) => {
|
|||
</button>
|
||||
<span className="text-xs whitespace-nowrap px-1">
|
||||
{isADiffInThisFile
|
||||
? `Diff ${(currDiffIdx ?? 0) + 1}/${sortedDiffIds.length}`
|
||||
? `Diff ${(currDiffIdx ?? 0) + 1} of ${sortedDiffIds.length}`
|
||||
: streamState === 'streaming'
|
||||
? 'No changes yet'
|
||||
: 'No changes'
|
||||
|
|
@ -215,7 +215,7 @@ export const VoidCommandBar = ({ uri, editor }: VoidCommandBarProps) => {
|
|||
</button>
|
||||
<span className="text-xs whitespace-nowrap px-1">
|
||||
{currFileIdx !== null
|
||||
? `File ${currFileIdx + 1}/${sortedCommandBarURIs.length}`
|
||||
? `File ${currFileIdx + 1} of ${sortedCommandBarURIs.length}`
|
||||
: `${sortedCommandBarURIs.length} file${sortedCommandBarURIs.length === 1 ? '' : 's'}`
|
||||
}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue