@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
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.0.56",
7
+ "version": "1.0.57",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -271,8 +271,8 @@ const SleepWakeUpDetailPage = () => {
271
271
  const showBackDialog = () =>{
272
272
  const newItem:any = {
273
273
  ...getNewItem(),
274
- index: props.scheduleItem.index,
275
- enable: props.scheduleItem.enable
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