mirror of https://github.com/OCA/web.git
commit
4192fade62
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue