diff --git a/.github/aux-images/demo-slide1.webp b/.github/aux-images/demo-slide1.webp new file mode 100644 index 000000000..6bd6abe76 Binary files /dev/null and b/.github/aux-images/demo-slide1.webp differ diff --git a/.github/aux-images/demo-slide2.webp b/.github/aux-images/demo-slide2.webp new file mode 100644 index 000000000..2aed5a422 Binary files /dev/null and b/.github/aux-images/demo-slide2.webp differ diff --git a/.github/aux-images/demo-slide3.webp b/.github/aux-images/demo-slide3.webp new file mode 100644 index 000000000..ee55650de Binary files /dev/null and b/.github/aux-images/demo-slide3.webp differ diff --git a/apps/client/src/common/hooks-query/useRundown.ts b/apps/client/src/common/hooks-query/useRundown.ts index d6b953fe7..be77203d3 100644 --- a/apps/client/src/common/hooks-query/useRundown.ts +++ b/apps/client/src/common/hooks-query/useRundown.ts @@ -54,9 +54,9 @@ export function useFlatRundown() { // update data whenever the revision changes useEffect(() => { - if (data.revision !== -1 && data.revision !== prevRevision) { - const flatRundown = data.flatOrder.map((id) => data.entries[id]); - setFlatRundown(flatRundown); + if (data.revision !== -1 || data.revision !== prevRevision) { + const flatRundown = data.order.map((id) => data.rundown[id]); + setFlatRunDown(flatRundown); setPrevRevision(data.revision); } }, [data.entries, data.flatOrder, data.revision, prevRevision]);