diff --git a/frontend/app/ui_components/internal-2-external-float-filter.js b/frontend/app/ui_components/internal-2-external-float-filter.js index bafd038f1d..fc2415f1f1 100644 --- a/frontend/app/ui_components/internal-2-external-float-filter.js +++ b/frontend/app/ui_components/internal-2-external-float-filter.js @@ -28,6 +28,11 @@ module.exports = function($locale) { return function(input) { - return input.toLocaleString($locale.id, { useGrouping: false, maximumFractionDigits: 20 }); + if (input === null) { + return ''; + } + else { + return input.toLocaleString($locale.id, { useGrouping: false, maximumFractionDigits: 20 }); + } }; };