@ledvance/ui-biz-bundle 1.0.48 → 1.0.50
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
|
@@ -62,11 +62,11 @@ const SleepWakeUpPage = () => {
|
|
|
62
62
|
mode,
|
|
63
63
|
dps: props.dps,
|
|
64
64
|
isSleep,
|
|
65
|
-
scheduleItem,
|
|
65
|
+
scheduleItem: scheduleItem && cloneDeep(scheduleItem),
|
|
66
66
|
setSleepPlan,
|
|
67
67
|
setWakeUpPlan,
|
|
68
|
-
sleepPlan: state.sleepScheduleList,
|
|
69
|
-
wakeUpPlan: state.wakeUpScheduleList,
|
|
68
|
+
sleepPlan: cloneDeep(state.sleepScheduleList),
|
|
69
|
+
wakeUpPlan: cloneDeep(state.wakeUpScheduleList),
|
|
70
70
|
conflictFn,
|
|
71
71
|
deleteDialog
|
|
72
72
|
})
|
|
@@ -98,7 +98,7 @@ const SleepWakeUpPage = () => {
|
|
|
98
98
|
}, [state.sleepScheduleList, state.wakeUpScheduleList])
|
|
99
99
|
|
|
100
100
|
const hasScheduleList = useCallback(() => {
|
|
101
|
-
return !!(state.sleepScheduleList.length && state.wakeUpScheduleList)
|
|
101
|
+
return !!(state.sleepScheduleList.length && state.wakeUpScheduleList.length)
|
|
102
102
|
}, [state.sleepScheduleList, state.wakeUpScheduleList])
|
|
103
103
|
|
|
104
104
|
const navigateToEdit = (params) => {
|
|
@@ -588,7 +588,7 @@ const TimeScheduleEditPage = () => {
|
|
|
588
588
|
<Text style={styles.rightItem}>{[state.hour, state.minute].join(':')}</Text>
|
|
589
589
|
</View>
|
|
590
590
|
</View>
|
|
591
|
-
<View style={styles.summaryContainer}>
|
|
591
|
+
<View style={[styles.summaryContainer, { alignItems: 'flex-start' }]}>
|
|
592
592
|
<View style={styles.summaryLeft}>
|
|
593
593
|
<Image
|
|
594
594
|
source={res.summary_icon3}
|
|
@@ -600,7 +600,7 @@ const TimeScheduleEditPage = () => {
|
|
|
600
600
|
style={styles.leftTitle}>{I18n.getLang('motion_detection_add_time_schedule_actions_text1')}</Text>
|
|
601
601
|
</View>
|
|
602
602
|
</View>
|
|
603
|
-
<View style={
|
|
603
|
+
<View style={{}}>
|
|
604
604
|
{!!state.selectedSkill.length && <>
|
|
605
605
|
{(!!state.selectedSkill.filter(skill => skill.enable).length) && <>
|
|
606
606
|
<Text style={{marginLeft: cx(5)}}>{I18n.getLang('feature_summary_action_txt_1')}</Text>
|