ajout style
This commit is contained in:
@@ -18,13 +18,13 @@ function display_metrics(metrics_datas) {
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const projectId = urlParams.get("id");
|
||||
getDataProjectMetricsFromApi(projectId)
|
||||
.then((project_metrics) => {
|
||||
display_metrics(project_metrics);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
});
|
||||
// getDataProjectMetricsFromApi(projectId)
|
||||
// .then((project_metrics) => {
|
||||
// display_metrics(project_metrics);
|
||||
// })
|
||||
// .catch((error) => {
|
||||
// console.error(error);
|
||||
// });
|
||||
document.getElementById("projets").addEventListener("click", () => {
|
||||
window.location.href = "../index.html";
|
||||
current_project = "";
|
||||
|
||||
Reference in New Issue
Block a user