sklic not showing right contract meta

This commit is contained in:
Simon Pocrnjič 2025-10-10 19:32:45 +02:00
parent afaefa8a9d
commit 7c7defb6c5

View File

@ -101,18 +101,6 @@ const formatMetaValue = (entry) => {
if (typeof value === "number") { if (typeof value === "number") {
return formatMetaNumber(value); 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); return String(value);
}; };