Make it say there is no versions available if there are none, rather than showing nothing

This commit is contained in:
Lncvrt committed 2026-05-01 13:15:46 -07:00
1 parent 3e45caf4f3
commit abeeab79d7
4 files changed
+88 -69

No files matched your search

+4 -6
View File
@@ -101,12 +101,10 @@ export default function ManageVersionPopup () {
<FontAwesomeIcon icon={faHardDrive} color='lightgray' />
<p>
Size on disk:{' '}
{versionSize && versionSize > 0
? prettyBytes(versionSize, {
minimumFractionDigits: 2,
maximumFractionDigits: 2
})
: 'N/A'}
{prettyBytes(versionSize, {
minimumFractionDigits: 2,
maximumFractionDigits: 2
})}
</p>
</div>
<div