maj
This commit is contained in:
@@ -15,7 +15,7 @@ function display_projects() {
|
||||
<th>${global_project_list[i].name}</th>
|
||||
<th>${formatDate(global_project_list[i].start_date)}</th>
|
||||
<th>${global_project_list[i].status}</th>
|
||||
<th><button class="project_detail btn btn-primary">détails de ${global_project_list[i].titre}</button></th>
|
||||
<th><button class="project_detail btn btn-primary">détails de ${global_project_list[i].name}</button></th>
|
||||
</tr>`;
|
||||
}
|
||||
table.innerHTML = datas;
|
||||
@@ -34,7 +34,7 @@ function display_projects() {
|
||||
});
|
||||
}
|
||||
}
|
||||
getDataProjectFromApi()
|
||||
getAllProject()
|
||||
.then(project_list => {
|
||||
global_project_list = project_list;
|
||||
// Call the next function here
|
||||
|
||||
Reference in New Issue
Block a user