fix: prevent stale rundown cache on rename

This commit is contained in:
Carlos Valente
2026-08-25 19:02:31 +02:00
committed by Carlos Valente
parent 63fdc50c50
commit b9683f00dc
@@ -818,7 +818,7 @@ export async function renameRundown(id: string, title: string) {
const dataProvider = getDataProvider();
const rundown = dataProvider.getRundown(id);
await dataProvider.setRundown(id, { ...rundown, title });
await dataProvider.setRundown(id, { ...rundown, title, revision: rundown.revision + 1 });
/**
* If we are modifying the loaded rundown we re-init it