mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
fix: demo page, update docs link and fix data destructuring (#932)
This commit is contained in:
committed by
GitHub
parent
8b0e03e980
commit
9644cbde92
Vendored
+3
-3
@@ -66,9 +66,9 @@ const connectSocket = () => {
|
||||
switch (type) {
|
||||
case 'ontime': {
|
||||
// destructure known data from ontime
|
||||
// see https://docs.getontime.no/api/osc-and-ws/
|
||||
const { timer, playback } = payload;
|
||||
updateTimerElement(playback, timer);
|
||||
// see https://docs.getontime.no/api/data/runtime-data/
|
||||
const { current, playback } = payload.timer;
|
||||
updateTimerElement(playback, current);
|
||||
break;
|
||||
}
|
||||
case 'ontime-timer': {
|
||||
|
||||
Reference in New Issue
Block a user