Skip to content

Commit c94e23d

Browse files
Merge pull request #13450 from linode/staging
Release v1.159.1 - staging → master
2 parents f273ec6 + 7f4ec0b commit c94e23d

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

packages/manager/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [2026-02-26] - v1.159.1
8+
9+
10+
### Fixed:
11+
12+
- Throughput quota resource metric formatting ([#13427](https://github.com/linode/manager/pull/13427))
13+
714
## [2026-02-25] - v1.159.0
815

916

packages/manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "linode-manager",
33
"author": "Linode",
44
"description": "The Linode Manager website",
5-
"version": "1.159.0",
5+
"version": "1.159.1",
66
"private": true,
77
"type": "module",
88
"bugs": {

packages/manager/src/features/Account/Quotas/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ export const convertResourceMetric = ({
251251
convertedResourceMetric: 'Gbps',
252252
convertedLimit: readableBytes(initialLimit, {
253253
unit: 'GB',
254-
round: 0,
255254
base10: true,
256255
}).value,
257256
};
@@ -272,6 +271,10 @@ export const convertResourceMetric = ({
272271
* Note: the value should be the raw values in bytes, not an existing conversion
273272
*/
274273
export const pluralizeMetric = (value: number, unit: string) => {
274+
if (unit === 'byte_per_second') {
275+
return unit;
276+
}
277+
275278
if (unit !== 'byte') {
276279
return value > 1 ? `${unit}s` : unit;
277280
}

0 commit comments

Comments
 (0)