add link in potential dashboard

This commit is contained in:
arifal
2025-05-15 14:18:27 +07:00
parent 99e2c214b6
commit 9aa3d32b6e
5 changed files with 53 additions and 30 deletions

View File

@@ -168,6 +168,13 @@ document.addEventListener("DOMContentLoaded", async function (e) {
await new DashboardPotentialInsideSystem().init();
});
function handleCircleClick(element) {
const url = element.getAttribute("data-url") || "#";
if (url !== "#") {
window.location.href = url;
}
}
function resizeDashboard() {
let targetElement = document.getElementById("lack-of-potential-wrapper");
let dashboardElement = document.getElementById(