fix: backToProject function not accessible from onclick handler
This commit is contained in:
@@ -14,7 +14,7 @@ export async function renderDocument(app) {
|
||||
return;
|
||||
}
|
||||
|
||||
const backToProject = () => {
|
||||
window.backToProject = () => {
|
||||
if (projectId) {
|
||||
app.navigate('project', { id: projectId });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user