From 4a2734cf2cc7c40315c7da3259e557f76b948ba8 Mon Sep 17 00:00:00 2001 From: Aakash Date: Tue, 18 Nov 2025 11:15:30 +0530 Subject: [PATCH] Fixed url redirection issue --- views/client/dashboard-dashboard.ejs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/views/client/dashboard-dashboard.ejs b/views/client/dashboard-dashboard.ejs index c92dce3..4fc3e5e 100644 --- a/views/client/dashboard-dashboard.ejs +++ b/views/client/dashboard-dashboard.ejs @@ -338,15 +338,6 @@ }); }); - // Add event listeners to view links - document.querySelectorAll('.view-link').forEach(link => { - link.addEventListener('click', function(e) { - e.preventDefault(); - const vaId = this.getAttribute('data-va-id'); - // You can update this link as needed - window.location.href = `/client/virtual-assistants/${vaId}`; - }); - }); } else { vaTableBody.innerHTML = ''; vaTableBody.style.display = 'none';