Skip to content

Commit

Permalink
some console log statements removed
Browse files Browse the repository at this point in the history
  • Loading branch information
deepansh96 committed May 11, 2024
1 parent 5a2962a commit c608b82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ router.beforeEach((to, from) => {
// are not explicitly specified in the requested URL. This will lead them to the workspace's home
// where they left off the in the previous session
const existingActiveWorkspace = store.state["auth"]["activeWorkspace"];
console.log(existingActiveWorkspace, to.params.workspace);
if (
existingActiveWorkspace != "" && (
to.params.workspace == undefined ||
Expand Down Expand Up @@ -248,7 +247,6 @@ router.beforeEach((to, from) => {
// set workspace in vuex state if the route workspace parameter is in vuex user organizations array
router.beforeEach((to) => {
if (store.getters["auth/isAuthenticated"]) {
console.log(to.params.workspace);
if (to.params.workspace != "" && to.params.workspace != undefined)
store.dispatch("auth/setActiveWorkspace", to.params.workspace);
else store.dispatch("auth/unsetActiveWorkspace");
Expand Down

0 comments on commit c608b82

Please sign in to comment.