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(
|
.text(
|
||||||
ui.iconInfo == 'extension'
|
ui.iconInfo == 'extension'
|
||||||
? data.extension.toUpperCase()
|
? data.extension.toUpperCase()
|
||||||
: Ox.formatValue(data.size, 'B')
|
: Ox.formatValue(data.size || 0, 'B')
|
||||||
) : null,
|
) : null,
|
||||||
height: height,
|
height: height,
|
||||||
id: data.id,
|
id: data.id,
|
||||||
|
|
|
@ -45,7 +45,7 @@ oml.ui.gridView = function() {
|
||||||
.text(
|
.text(
|
||||||
ui.iconInfo == 'extension'
|
ui.iconInfo == 'extension'
|
||||||
? data.extension.toUpperCase()
|
? data.extension.toUpperCase()
|
||||||
: Ox.formatValue(data.size, 'B')
|
: Ox.formatValue(data.size || 0, 'B')
|
||||||
) : null,
|
) : null,
|
||||||
height: height,
|
height: height,
|
||||||
id: data.id,
|
id: data.id,
|
||||||
|
|
Loading…
Reference in a new issue