Fixed url redirection issue

This commit is contained in:
Aakash Mittal 2025-11-18 11:15:30 +05:30
parent 357a6e1be7
commit 4a2734cf2c
1 changed files with 0 additions and 9 deletions

View File

@ -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';