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)
Some checks failed
Format / formatting (push) Successful in 7s
Build / build (push) Successful in 56s
CI / build (push) Failing after 25s

This commit is contained in:
2025-05-06 23:31:01 +02:00
parent ae36549de9
commit 02bff19de0
3 changed files with 9 additions and 22 deletions

View File

@ -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) => {