1
0
Fork 0
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:
SystemsPurge 2024-10-30 09:36:32 +01:00
parent 5f735bf73e
commit 86b8dd2c2d
No known key found for this signature in database

View file

@ -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));