From 7c7defb6c55be127ff3c637370163b4abbd769c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Pocrnji=C4=8D?= Date: Fri, 10 Oct 2025 19:32:45 +0200 Subject: [PATCH] sklic not showing right contract meta --- resources/js/Pages/Cases/Partials/ContractTable.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/resources/js/Pages/Cases/Partials/ContractTable.vue b/resources/js/Pages/Cases/Partials/ContractTable.vue index 00b1f5e..857e43b 100644 --- a/resources/js/Pages/Cases/Partials/ContractTable.vue +++ b/resources/js/Pages/Cases/Partials/ContractTable.vue @@ -101,18 +101,6 @@ const formatMetaValue = (entry) => { if (typeof value === "number") { return formatMetaNumber(value); } - if (typeof value === "string") { - // Try number - const n = parseFloat(value.replace(",", ".")); - if (!isNaN(n)) { - return formatMetaNumber(n); - } - // Try date - const d = new Date(value); - if (!isNaN(d.getTime())) { - return formatMetaDate(value); - } - } return String(value); };