forked from jsnbuchanan/crowd-funder-for-time-pwa
Subject: workflow for saving of project
* Changed from passing parameters since this isn't supported anymore by Vue * Added new AppStore values for a projectId which are accessible in the ProjectView View
This commit is contained in:
@@ -126,6 +126,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { Options, Vue } from "vue-class-component";
|
||||
import { useAppStore } from "@/store/app";
|
||||
|
||||
@Options({
|
||||
components: {},
|
||||
@@ -133,6 +134,7 @@ import { Options, Vue } from "vue-class-component";
|
||||
export default class ProjectViewView extends Vue {
|
||||
projectId = "";
|
||||
created(): void {
|
||||
this.projectId = useAppStore().projectId;
|
||||
console.log(this.projectId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user