Skip to content

Commit

Permalink
Update SingleProjectView.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
tyboro2002 authored Apr 18, 2024
1 parent 855050d commit e963dbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/views/projects/SingleProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import { useProject } from '@/composables/services/project.service';
/* Service injection */
const { user } = storeToRefs(useAuthStore());
const { params } = useRoute();
const { project, getProjectByID } = useProject();
const { course, getCourseByID } = useCourses();
const { params } = useRoute();
const { project, getProjectByID } = useProject();
const { course, getCourseByID } = useCourses();
onMounted(async () => {
await getProjectByID(params.projectId as string);
await getCourseByID(params.courseId as string);
Expand Down

0 comments on commit e963dbe

Please sign in to comment.