mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
update uptime via villasnode API
This commit is contained in:
parent
859fed46c0
commit
1dc05cac09
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ class InfrastructureComponentStore extends ArrayStore {
|
|||
let tempIC = action.ic;
|
||||
if(!tempIC.managedexternally){
|
||||
tempIC.state = action.data.state;
|
||||
tempIC.uptime = action.data.time_now - action.data.time_started;
|
||||
tempIC.statusupdateraw = action.data;
|
||||
AppDispatcher.dispatch({
|
||||
type: 'ics/start-edit',
|
||||
|
|
Loading…
Add table
Reference in a new issue