summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Mixins/DataFormatterMixin.js (renamed from src/components/Mixins/TableDataFormatterMixin.js)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Mixins/TableDataFormatterMixin.js b/src/components/Mixins/DataFormatterMixin.js
index 026f8749..5ce79327 100644
--- a/src/components/Mixins/TableDataFormatterMixin.js
+++ b/src/components/Mixins/DataFormatterMixin.js
@@ -1,6 +1,6 @@
-const TableDataFormatterMixin = {
+const DataFormatterMixin = {
methods: {
- tableFormatter(value) {
+ dataFormatter(value) {
if (value === undefined || value === null || value === '') {
return '--';
} else if (typeof value === 'number') {
@@ -21,10 +21,10 @@ const TableDataFormatterMixin = {
return '';
}
},
- tableFormatterArray(value) {
+ dataFormatterArray(value) {
return value.join(', ');
},
},
};
-export default TableDataFormatterMixin;
+export default DataFormatterMixin;