aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-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 29108ce..057041e 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];
}