From fa3ecdcd8f181c01279a0712dc795f7f2cf909ee Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 17 Apr 2022 19:25:46 -0700 Subject: Fix localization issues --- modern/src/DevicesList.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modern/src/DevicesList.js') diff --git a/modern/src/DevicesList.js b/modern/src/DevicesList.js index c51385ef..bcd6786a 100644 --- a/modern/src/DevicesList.js +++ b/modern/src/DevicesList.js @@ -24,7 +24,7 @@ import { devicesActions } from './store'; import EditCollectionView from './EditCollectionView'; import { useEffectAsync } from './reactHelper'; import { - formatAlarm, formatBoolean, formatPercentage, getStatusColor, + formatAlarm, formatBoolean, formatPercentage, formatStatus, getStatusColor, } from './common/formatter'; import { useTranslation } from './LocalizationProvider'; @@ -86,7 +86,11 @@ const DeviceRow = ({ data, index, style }) => { - + {position && ( <> -- cgit v1.2.3