Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

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

## [2026-02-26] - v1.159.1


### Fixed:

- Throughput quota resource metric formatting ([#13427](https://github.com/linode/manager/pull/13427))

## [2026-02-25] - v1.159.0


Expand Down
2 changes: 1 addition & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "linode-manager",
"author": "Linode",
"description": "The Linode Manager website",
"version": "1.159.0",
"version": "1.159.1",
"private": true,
"type": "module",
"bugs": {
Expand Down
5 changes: 4 additions & 1 deletion packages/manager/src/features/Account/Quotas/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ export const convertResourceMetric = ({
convertedResourceMetric: 'Gbps',
convertedLimit: readableBytes(initialLimit, {
unit: 'GB',
round: 0,
base10: true,
}).value,
};
Expand All @@ -272,6 +271,10 @@ export const convertResourceMetric = ({
* Note: the value should be the raw values in bytes, not an existing conversion
*/
export const pluralizeMetric = (value: number, unit: string) => {
if (unit === 'byte_per_second') {
return unit;
}

if (unit !== 'byte') {
return value > 1 ? `${unit}s` : unit;
}
Expand Down