File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
src/features/Account/Quotas Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
55The 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
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff 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 */
274273export 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 }
You can’t perform that action at this time.
0 commit comments