mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 10:51:12 -05:00
Fix composite submission data linkage
This commit is contained in:
@@ -52,7 +52,8 @@ export function RichParkDisplay({ data, actionType, showAllFields = true }: Rich
|
||||
fetchRelatedData();
|
||||
}, [data.location_id, data.operator_id, data.property_owner_id]);
|
||||
|
||||
const getStatusColor = (status: string) => {
|
||||
const getStatusColor = (status: string | undefined) => {
|
||||
if (!status) return 'bg-gray-500';
|
||||
switch (status.toLowerCase()) {
|
||||
case 'operating': return 'bg-green-500';
|
||||
case 'closed': return 'bg-red-500';
|
||||
|
||||
Reference in New Issue
Block a user