Fix slug validation and park type detection

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 15:51:37 +00:00
parent ac151e5445
commit f5ee267e66
2 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ export function ValidationSummary({ item, onValidationChange, compact = false }:
const result = await validateEntityData(
item.item_type as ValidEntityType,
{ ...item.item_data, id: item.id }
{ ...item.item_data, id: item.item_data.id || item.id }
);
setValidationResult(result);