From 997093c6958a479d7ac0dc40db7d4844c9c63c45 Mon Sep 17 00:00:00 2001 From: Matthew Aaron Raymer Date: Tue, 17 Jan 2023 16:13:58 +0800 Subject: [PATCH] Add flow from project list to view --- src/views/NewEditProjectView.vue | 2 -- src/views/ProjectsView.vue | 29 ++++++++++++++++++++++------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index ffd116df..686232e6 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -116,9 +116,7 @@ export default class NewEditProjectView extends Vue { try { const resp = await this.axios.post(url, payload, { headers }); - console.log(resp.status, resp.data); useAppStore().setProjectId(resp.data); - console.log("TEST", useAppStore().projectId); setTimeout( function (that: Vue) { console.log("THAT:", localStorage.getItem("projectId")); diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 76034234..46aee208 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -34,7 +34,10 @@ v-for="project in projects" :key="project.id" > - +