diff --git a/front/MyINPulse-front/src/components/ProjectComponent.vue b/front/MyINPulse-front/src/components/ProjectComponent.vue index 983115f..b383b6f 100644 --- a/front/MyINPulse-front/src/components/ProjectComponent.vue +++ b/front/MyINPulse-front/src/components/ProjectComponent.vue @@ -2,9 +2,22 @@

{{ projectName }}

-
- -
+
+ +
+
@@ -18,7 +18,7 @@ import { ref, onMounted } from "vue"; import CanvasItem from "@/components/canvas/CanvasItem.vue"; const props = defineProps<{ - is_admin: number; + isAdmin: number; }>(); const items = ref([ diff --git a/front/MyINPulse-front/src/router/router.ts b/front/MyINPulse-front/src/router/router.ts index c2a127a..50bf2b0 100644 --- a/front/MyINPulse-front/src/router/router.ts +++ b/front/MyINPulse-front/src/router/router.ts @@ -34,6 +34,12 @@ const router = createRouter({ name: 'signup', component: () => import('../views/EntrepSignUp.vue'), }, + + { + path: '/JorCproject', + name: 'JorCproject', + component: () => import('../views/JoinOrCreatProjectForEntrep.vue'), + }, ], }) diff --git a/front/MyINPulse-front/src/views/AdminMain.vue b/front/MyINPulse-front/src/views/AdminMain.vue index 2b2bd4b..c3e775b 100644 --- a/front/MyINPulse-front/src/views/AdminMain.vue +++ b/front/MyINPulse-front/src/views/AdminMain.vue @@ -10,6 +10,7 @@ :project-name="project.name" :list-name="project.members" :project-link="project.link" + :project-id="0" />
diff --git a/front/MyINPulse-front/src/views/CanvasView.vue b/front/MyINPulse-front/src/views/CanvasView.vue index 3c9c983..90ebfc4 100644 --- a/front/MyINPulse-front/src/views/CanvasView.vue +++ b/front/MyINPulse-front/src/views/CanvasView.vue @@ -10,7 +10,7 @@

Cliquez sur un champ du tableau pour afficher son contenu en détail ci-dessous.

- +

@@ -26,7 +26,7 @@ import HeaderCanvas from "../components/canvas/HeaderCanvas.vue"; import LeanCanvas from '../components/canvas/LeanCanvas.vue'; -import { ref, onMounted, defineProps} from "vue"; +import { ref, onMounted /*, defineProps*/} from "vue"; import { axiosInstance } from "@/services/api.ts"; const IS_MOCK_MODE = true; @@ -41,7 +41,7 @@ const props = defineProps<{ is_admin = token.includes("MyINPulse-admin") */ -const is_admin = 0 +const isAdmin = 0 // Variables pour les informations de l'administrateur const admin = ref({