@eohjsc/react-native-smart-city 0.7.23 → 0.7.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -23,7 +23,13 @@ export const useFetchConfigHistory = (
|
|
|
23
23
|
) => {
|
|
24
24
|
const fetchDataDisplayHistory = useCallback(
|
|
25
25
|
async (startDate, endDate, setProcessing = () => {}) => {
|
|
26
|
-
if (
|
|
26
|
+
if (
|
|
27
|
+
!configs ||
|
|
28
|
+
!Array.isArray(configs) ||
|
|
29
|
+
!configs.length ||
|
|
30
|
+
!startDate ||
|
|
31
|
+
!endDate
|
|
32
|
+
) {
|
|
27
33
|
return;
|
|
28
34
|
}
|
|
29
35
|
|
|
@@ -491,7 +491,7 @@ export default {
|
|
|
491
491
|
to: 'đến',
|
|
492
492
|
condition: 'Điều kiện',
|
|
493
493
|
no_condition: 'Không điều kiện',
|
|
494
|
-
available_condition: 'Số điều
|
|
494
|
+
available_condition: 'Số điều kiện còn lại [{number}]',
|
|
495
495
|
available_action: 'Số hành động còn lại [{number}]',
|
|
496
496
|
shared_unit: 'Khu vực được chia sẻ',
|
|
497
497
|
owner_unit: 'Chủ khu vực',
|
|
@@ -1049,10 +1049,10 @@ export default {
|
|
|
1049
1049
|
update_condition_success: 'Cập nhật điều kiện thành công',
|
|
1050
1050
|
edit_condition_success: 'Chỉnh sửa điều kiện thành công',
|
|
1051
1051
|
delete_condition: 'Xoá điều kiện',
|
|
1052
|
-
are_met: 'Tất cả điều
|
|
1052
|
+
are_met: 'Tất cả điều kiện đều thỏa',
|
|
1053
1053
|
is_met: 'Một trong các điều kiện được thỏa',
|
|
1054
|
-
add_condition: 'Thêm điều
|
|
1055
|
-
add_condition_success: 'Thêm điều
|
|
1054
|
+
add_condition: 'Thêm điều kiện',
|
|
1055
|
+
add_condition_success: 'Thêm điều kiện thành công',
|
|
1056
1056
|
device_display: 'Thiết bị hiển thị',
|
|
1057
1057
|
time_frame: 'Khung thời gian',
|
|
1058
1058
|
ex_time_frame: 'Ví dụ: 8:00 a.m. mỗi ngày.',
|