nearly the entire application state is saved in URL
This commit is contained in:
parent
c7e661eb61
commit
49e701c7d7
7 changed files with 338 additions and 126 deletions
|
|
@ -70,10 +70,12 @@ export async function checkProperty(plant: Plant<RT_Statechart, any>, property:
|
|||
return [null, json];
|
||||
}
|
||||
else {
|
||||
// @ts-ignore
|
||||
return [json.map(([timestamp, satisfied]) => ({timestamp, satisfied})), null];
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
// @ts-ignore
|
||||
return [null, e.message];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue