fix: backToProject function not accessible from onclick handler

This commit is contained in:
Hiro
2026-03-28 16:50:44 +00:00
parent 98b38ad78a
commit 06a58a330f

View File

@@ -14,7 +14,7 @@ export async function renderDocument(app) {
return; return;
} }
const backToProject = () => { window.backToProject = () => {
if (projectId) { if (projectId) {
app.navigate('project', { id: projectId }); app.navigate('project', { id: projectId });
} else { } else {