Skip to content

Commit

Permalink
Merge branch 'fix/wrong_project_name' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuseduardomedeiros committed Dec 13, 2024
2 parents 5f38b01 + 3302c59 commit 3cc3551
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ export default {
name: 'App',
setup() {
const projectUuid = window.location.href.split('projectUuid=')[1];
const queryString = window.location.href.split('?')[1];
const { projectUuid } = Object.fromEntries(
new URLSearchParams(queryString).entries(),
);
if (projectUuid) setProjectLocalStorage(projectUuid);
},
Expand Down

0 comments on commit 3cc3551

Please sign in to comment.