Make it say there is no versions available if there are none, rather than showing nothing
This commit is contained in:
4 files changed
+88
-69
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user