mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
@@ -7,7 +7,7 @@ import {patch} from "web.utils";
|
|||||||
|
|
||||||
patch(PivotRenderer.prototype, "web_pivot_computed_measure.PivotRenderer", {
|
patch(PivotRenderer.prototype, "web_pivot_computed_measure.PivotRenderer", {
|
||||||
getFormattedValue(cell) {
|
getFormattedValue(cell) {
|
||||||
if (cell.value === Infinity) {
|
if (Math.abs(cell.value) === Infinity) {
|
||||||
return "-";
|
return "-";
|
||||||
}
|
}
|
||||||
return this._super(...arguments);
|
return this._super(...arguments);
|
||||||
|
|||||||
Reference in New Issue
Block a user