diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-28 16:34:15 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-28 16:34:15 -0700 |
commit | 9d72339c8365da80154f635dc8184b135a53bab0 (patch) | |
tree | d25c944cba1d70b0e3ceabc0b0a845b4ca479f80 /modern/src/common | |
parent | 2cda355e9d651e778794577c08fd0837f06e7b51 (diff) | |
download | trackermap-web-9d72339c8365da80154f635dc8184b135a53bab0.tar.gz trackermap-web-9d72339c8365da80154f635dc8184b135a53bab0.tar.bz2 trackermap-web-9d72339c8365da80154f635dc8184b135a53bab0.zip |
Fix position formatting
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/formatter.js | 2 |
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]; } |