diff --git a/app/static/index.html b/app/static/index.html index 664a558..72c0ef8 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -2554,19 +2554,6 @@ document.getElementById('workload-details-container').classList.remove('section-hidden'); } - async function loadWorkloadDetails(workloadName, namespace) { - try { - const response = await fetch(`/api/v1/historical-analysis/${namespace}/${workloadName}`); - const data = await response.json(); - - updateWorkloadDetails(data); - - } catch (error) { - console.error('Error loading workload details:', error); - document.getElementById('workload-details-content').innerHTML = - '
Failed to load workload details
'; - } - } function toggleWorkloadDetails(index) { const detailsRow = document.getElementById(`details-${index}`);