From 640e53cafeb9a0091f028da7fcb91f4f14c7df95 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sun, 26 Oct 2025 21:00:46 +0100 Subject: [PATCH] Fixed new assets not clickeable --- src/Views/Home/Assets.cshtml | 242 ++++++++++++++++++----------------- 1 file changed, 123 insertions(+), 119 deletions(-) diff --git a/src/Views/Home/Assets.cshtml b/src/Views/Home/Assets.cshtml index 0048a4a..3b4bd3a 100644 --- a/src/Views/Home/Assets.cshtml +++ b/src/Views/Home/Assets.cshtml @@ -347,7 +347,10 @@ `; + newRow.classList.add('asset-row'); newRow.classList.add('table-success'); + newRow.setAttribute("data-asset-id", result.assetId); + registerRowDetailviewClick(newRow); setTimeout(() => { newRow.classList.toggle('table-success'); }, 500); @@ -639,133 +642,134 @@ document.addEventListener('DOMContentLoaded', () => {