feat: adding delete button with the corresponding endpoint
This commit is contained in:
@ -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;
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user