fix: dashOrCurrency filter
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
ed566e6ece
commit
3f76aea680
|
@ -2,5 +2,5 @@ import toCurrency from './toCurrency';
|
||||||
|
|
||||||
export default function (value) {
|
export default function (value) {
|
||||||
if (value == null || value === '') return () => '-';
|
if (value == null || value === '') return () => '-';
|
||||||
return toCurrency;
|
return () => toCurrency(value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue