Skip to content

Commit

Permalink
wip: Move logic determining where guest and editor page skipping happens
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobiClark committed Dec 18, 2024
1 parent 11e7b33 commit 938dce1
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 261 deletions.
3 changes: 2 additions & 1 deletion src/renderer/src/scripts/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2200,9 +2200,10 @@ window.isWorkspaceGuest = async () => {
});
} catch (error) {
clientError(error);
console.error("Error fetching organizations", error);
// TODO: Handle error here
}

console.log("currentWorkspace", currentWorkspace);
// get the current workspace by matching the id
let currentWorkspaceObj = orgResponse.data.organizations.filter(
(org) => org.organization.id === currentWorkspace
Expand Down
Loading

0 comments on commit 938dce1

Please sign in to comment.