fix: open group when selecting from finder

This commit is contained in:
Carlos Valente
2025-08-02 09:27:59 +02:00
committed by Carlos Valente
parent 82e8b9d66a
commit daddb7f7b7
4 changed files with 208 additions and 160 deletions
@@ -56,6 +56,7 @@ export function useFlatRundown() {
}, [data.entries, data.flatOrder, data.revision, prevRevision]);
// TODO: should we have a project id field?
// TODO(v4): cleanup as part of load multiple rundowns
// invalidate current version if project changes
useEffect(() => {
if (projectData?.title !== loadedProject.current) {
@@ -64,7 +65,7 @@ export function useFlatRundown() {
}
}, [projectData]);
return { data: flatRundown, status };
return { data: flatRundown, rundownId: data.id, status };
}
/**