guard against 'NaN PB' in icon info
This commit is contained in:
parent
bb337a0a5d
commit
6a91ac9465
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ oml.ui.browser = function() {
|
|||
.text(
|
||||
ui.iconInfo == 'extension'
|
||||
? data.extension.toUpperCase()
|
||||
: Ox.formatValue(data.size, 'B')
|
||||
: Ox.formatValue(data.size || 0, 'B')
|
||||
) : null,
|
||||
height: height,
|
||||
id: data.id,
|
||||
|
|
|
@ -45,7 +45,7 @@ oml.ui.gridView = function() {
|
|||
.text(
|
||||
ui.iconInfo == 'extension'
|
||||
? data.extension.toUpperCase()
|
||||
: Ox.formatValue(data.size, 'B')
|
||||
: Ox.formatValue(data.size || 0, 'B')
|
||||
) : null,
|
||||
height: height,
|
||||
id: data.id,
|
||||
|
|
Loading…
Reference in a new issue