Repository navigation
Commit 5019162
Jeremy Ewing
dashboard: fix WebSocket payload shape for live updates
The server sends {type:'snapshot', data: snapshot}, but the frontend was
passing the whole envelope to renderMain(), so timestamp/registers were
undefined and fields appeared blank. Use msg.data when available.1 parent b4a2797 commit 5019162
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
862 | | - | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
863 | 869 | | |
864 | 870 | | |
865 | 871 | | |
| |||
0 commit comments