From 9d72339c8365da80154f635dc8184b135a53bab0 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 28 Sep 2020 16:34:15 -0700 Subject: Fix position formatting --- modern/src/common/formatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/common') 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]; } -- cgit v1.2.3