From b1b324e68839c767af60aba8702610035645a6d0 Mon Sep 17 00:00:00 2001 From: Khafid Prayoga Date: Mon, 1 Sep 2025 11:35:02 +0700 Subject: [PATCH] refactor(data-table): improve type safety and component rendering - Replace generic 'any' types with specific type imports for better type safety - Add optional chaining for funcComponent to prevent potential runtime errors - Update funcHtml and funcParsed to include rowIndex parameter in callbacks --- .../pub/base/data-table/data-table.vue | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/components/pub/base/data-table/data-table.vue b/app/components/pub/base/data-table/data-table.vue index 6524aaa8..8bc50758 100644 --- a/app/components/pub/base/data-table/data-table.vue +++ b/app/components/pub/base/data-table/data-table.vue @@ -1,16 +1,17 @@