remove the last of the localStorage for passing parameters

This commit is contained in:
2024-08-30 21:55:08 -06:00
parent b15476e379
commit 0947c55110
6 changed files with 14 additions and 38 deletions

View File

@@ -383,7 +383,6 @@ export default class ProjectsView extends Vue {
* @param id of the project
**/
onClickLoadProject(id: string) {
localStorage.setItem("projectId", id);
const route = {
path: "/project/" + encodeURIComponent(id),
};
@@ -394,7 +393,6 @@ export default class ProjectsView extends Vue {
* Handling clicking on the new project button
**/
onClickNewProject(): void {
localStorage.removeItem("projectId");
const route = {
name: "new-edit-project",
};