aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/formatter.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/formatter.js')
-rw-r--r--modern/src/common/formatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js
index 29108cec..057041e2 100644
--- a/modern/src/common/formatter.js
+++ b/modern/src/common/formatter.js
@@ -1,7 +1,7 @@
import moment from 'moment';
import t from '../common/localization';
-export const formatPosition = (key, value) => {
+export const formatPosition = (value, key) => {
if (value != null && typeof value == 'object') {
value = value[key];
}