mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Added handling for missing use case in player widget
Signed-off-by: SystemsPurge <naktiyoussef@proton.me>
This commit is contained in:
parent
5f735bf73e
commit
86b8dd2c2d
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ const WidgetPlayer = (
|
|||
notificationsDataManager.addNotification(NotificationsFactory.LOAD_ERROR(e.toString()));
|
||||
})
|
||||
}
|
||||
else{
|
||||
dispatch(sendActionToIC({token:sessionToken,id:config.icID,actions:[pld]}))
|
||||
}
|
||||
//sendAction({ icid: startConfig.icID, action: "start", when: Math.round((new Date()).getTime() / 1000), parameters: {...startParameters } }).unwrap();
|
||||
} catch(error) {
|
||||
notificationsDataManager.addNotification(NotificationsFactory.LOAD_ERROR(error?.data?.message));
|
||||
|
|
Loading…
Add table
Reference in a new issue