feat(ui): update totalSize formatting to display two decimal places
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -169,7 +169,7 @@ const LibraryEdit = (props) => {
|
|||||||
resource={'library'}
|
resource={'library'}
|
||||||
source={'totalSize'}
|
source={'totalSize'}
|
||||||
label={translate('resources.library.fields.totalSize')}
|
label={translate('resources.library.fields.totalSize')}
|
||||||
format={formatBytes}
|
format={(v) => formatBytes(v, 2)}
|
||||||
fullWidth
|
fullWidth
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user