mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 08:11:12 -05:00
Fix slug validation and park type detection
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user