diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-04-19 07:28:46 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-04-19 07:28:46 -0500 |
| commit | 7b007dd5288fb902638b5ff45d92d07421c34c54 (patch) | |
| tree | ab11f7b3d00358503c6382294b1dab07f552a5ca /src | |
| parent | 124b903b3ef07322ee6ebe8455131279304ec3cb (diff) | |
| download | slskd-7b007dd5288fb902638b5ff45d92d07421c34c54.tar.gz | |
make Kbps consistent with size labels
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/lib/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/lib/util.js b/src/web/src/lib/util.js index 32c55090..9721fbeb 100644 --- a/src/web/src/lib/util.js +++ b/src/web/src/lib/util.js @@ -42,10 +42,10 @@ export const formatAttributes = ({ bitRate, isVariableBitRate, bitDepth, sampleR } if (isVariableBitRate) { - return `${bitRate}kbps, VBR` + return `${bitRate} Kbps, VBR` } - return bitRate ? `${bitRate}kbps` : '' + return bitRate ? `${bitRate} Kbps` : '' } /* https://www.npmjs.com/package/js-file-download |
