feat: show current rundown in project info page

feat: swap project description for rundown title in editor and cuesheet overview
This commit is contained in:
alex-arc
2026-04-02 17:05:01 +02:00
committed by Carlos Valente
parent 7e3a9d634b
commit b19e9d23ba
2 changed files with 16 additions and 4 deletions
@@ -105,3 +105,12 @@ export function useEntry(entryId: EntryId | null): OntimeEntry | null {
if (entryId === null) return null;
return rundown.entries[entryId] ?? null;
}
export function useRundownAuxData() {
const { data, status } = useRundown();
const filteredData = useMemo(() => {
const { title, id } = data;
return { title, id };
}, [data]);
return { data: filteredData, status };
}