diff --git a/packages/desktop-client/src/components/spreadsheet/format.js b/packages/desktop-client/src/components/spreadsheet/format.js index 3bbdde031d7f5ed40bc8af2c5c2f18fe83b7c910..3cc523f316d95571c033d45108a451521195ea87 100644 --- a/packages/desktop-client/src/components/spreadsheet/format.js +++ b/packages/desktop-client/src/components/spreadsheet/format.js @@ -18,7 +18,7 @@ export default function format(value, type = 'string') { } return formatted; case 'financial': - if (value == null || value === '') { + if (value == null || value === '' || value === 0) { return integerToCurrency(0); } else if (typeof value === 'string') { const parsed = parseFloat(value); diff --git a/upcoming-release-notes/1308.md b/upcoming-release-notes/1308.md new file mode 100644 index 0000000000000000000000000000000000000000..6bfad95222956b13d3df5c478514036acbc227a5 --- /dev/null +++ b/upcoming-release-notes/1308.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis] +--- + +Fix budget showing "--0.00" values sometimes