Skip to content

Commit

Permalink
refactor(config): sw-1215 reduce metric card mantissa (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jul 24, 2023
1 parent 271eef2 commit 8aed900
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/config/product.openshiftDedicated.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.dailyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down Expand Up @@ -128,7 +128,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.monthlyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down
4 changes: 2 additions & 2 deletions src/config/product.openshiftMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.dailyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down Expand Up @@ -119,7 +119,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.monthlyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down
4 changes: 2 additions & 2 deletions src/config/product.rhacs.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.dailyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down Expand Up @@ -123,7 +123,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.monthlyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down
4 changes: 2 additions & 2 deletions src/config/product.rhods.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.dailyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down Expand Up @@ -118,7 +118,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.monthlyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down
4 changes: 2 additions & 2 deletions src/config/product.rhosak.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.dailyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down Expand Up @@ -145,7 +145,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.monthlyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down
4 changes: 2 additions & 2 deletions src/config/product.rosa.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.dailyValue)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down Expand Up @@ -163,7 +163,7 @@ const config = {
.numberDisplay(dataSets?.[0]?.display?.remainingCapacity)
?.format({
average: true,
mantissa: 5,
mantissa: 2,
trimMantissa: true,
lowPrecision: false
})
Expand Down

0 comments on commit 8aed900

Please sign in to comment.