summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/filters/number.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/app/common/views/filters/number.ts b/src/client/app/common/views/filters/number.ts
index 08f9fea805..8c799d9442 100644
--- a/src/client/app/common/views/filters/number.ts
+++ b/src/client/app/common/views/filters/number.ts
@@ -1,6 +1,3 @@
import Vue from 'vue';
-Vue.filter('number', (n) => {
- if (n == null) return 'N/A';
- return n.toLocaleString();
-});
+Vue.filter('number', n => n == null ? 'N/A' : n.toLocaleString());