forked from jsnbuchanan/crowd-funder-for-time-pwa
remove the last of the localStorage for passing parameters
This commit is contained in:
@@ -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",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user