feat: adding delete button with the corresponding endpoint
All checks were successful
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 44s
CI / build (push) Successful in 12s
Format / formatting (pull_request) Successful in 6s

This commit is contained in:
2025-05-01 19:23:21 +02:00
parent 592331236e
commit 4356a01e4a
6 changed files with 165 additions and 4 deletions

View File

@ -13,6 +13,8 @@
:project-id="0"
/>
<!-- <AllEntrep /> -->
<div id="main">
<h3>Projet en attente</h3>
@ -45,7 +47,7 @@ import { getProjectEntrepreneurs } from "@/services/Apis/Shared";
import { type AxiosError, type AxiosResponse } from "axios";
import Project from "@/ApiClasses/Project";
import UserEntrepreneur from "@/ApiClasses/UserEntrepreneur";
//import AllEntrep from "../components/AllEntrep.vue";
const projects = ref<
{
name: string;

View File

@ -112,7 +112,7 @@ const fetchAdminData = (projectId: number, useMock = IS_MOCK_MODE) => {
"Erreur lors de la récupération des données de l'administrateur :",
error
);
admin.value = new UserAdmin({
idUser: 0,
userSurname: "Erreur",