fix: il ya encors un problem de config! des erreurs de type (Connection to localhost:5433 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections)
This commit is contained in:
@ -57,6 +57,8 @@ const projects = ref<
|
||||
}[]
|
||||
>([]);
|
||||
|
||||
|
||||
|
||||
const fallbackProjects = [
|
||||
{
|
||||
name: "Projet Alpha",
|
||||
@ -80,7 +82,7 @@ const createFirstAdmin = () => {
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
onMounted(createFirstAdmin);
|
||||
|
||||
const fetchProjects = () => {
|
||||
getAdminProjects(
|
||||
@ -134,8 +136,6 @@ const fetchProjects = () => {
|
||||
);
|
||||
};
|
||||
|
||||
onMounted(fetchProjects);
|
||||
onMounted(createFirstAdmin);
|
||||
|
||||
const pendingProjects = ref<Project[]>([]);
|
||||
|
||||
@ -144,6 +144,7 @@ const mockPendingProjects = [
|
||||
new Project({ projectName: "l'air", creationDate: "09-03-2023" }),
|
||||
];
|
||||
|
||||
onMounted(fetchProjects);
|
||||
onMounted(() => {
|
||||
getPendingProjects(
|
||||
(response) => {
|
||||
|
Reference in New Issue
Block a user