From 3f76aea680125ab7b8c58ff3c9cb83fcab63606a Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 29 May 2024 12:17:45 +0200 Subject: [PATCH] fix: dashOrCurrency filter --- src/filters/dashOrCurrency.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters/dashOrCurrency.js b/src/filters/dashOrCurrency.js index 9873990ab..00243921c 100644 --- a/src/filters/dashOrCurrency.js +++ b/src/filters/dashOrCurrency.js @@ -2,5 +2,5 @@ import toCurrency from './toCurrency'; export default function (value) { if (value == null || value === '') return () => '-'; - return toCurrency; + return () => toCurrency(value); }