generate contract by the system, add waggon type,fix ui

This commit is contained in:
marshal
2026-06-07 01:20:52 +03:00
88 changed files with 2845 additions and 1237 deletions

View File

@@ -91,6 +91,12 @@ export const formatCell = (value: unknown, format?: ColumnFormat): ReactNode =>
return <Text size="sm">{d.toLocaleDateString()}</Text>;
}
if (Array.isArray(value)) {
return (
<Text size="sm">{value.length > 0 ? value.join(", ") : "—"}</Text>
);
}
if (format === "entityLabel" && value && typeof value === "object") {
const label = extractLabel(value);
if (label) {