@ledvance/ui-biz-bundle 1.0.56 → 1.0.57
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
|
@@ -271,8 +271,8 @@ const SleepWakeUpDetailPage = () => {
|
|
|
271
271
|
const showBackDialog = () =>{
|
|
272
272
|
const newItem:any = {
|
|
273
273
|
...getNewItem(),
|
|
274
|
-
index: props.scheduleItem
|
|
275
|
-
enable: props.scheduleItem
|
|
274
|
+
index: props.scheduleItem?.index,
|
|
275
|
+
enable: props.scheduleItem?.enable
|
|
276
276
|
}
|
|
277
277
|
if(!props.isSleep){
|
|
278
278
|
newItem.duration = state.durationStatus && state.duration || 0
|