Skip to content

Commit

Permalink
Fixing project editing
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Feb 14, 2024
1 parent 0545438 commit 6806ff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/manager/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export function hideProjectEmbed() {
}

export function editProject(project) {
console.log("Edit project", project, project.edit_access, project.editAccess);
if (!project.editAccess || !project.edit_access) return;
layout.projectEdit = project;
layout.projectOpen = true;
Expand Down

0 comments on commit 6806ff8

Please sign in to comment.