-- Update Trip Logs modal after 20250661_update_trip_logs_modal.sql
-- This must run before 20250721_trip_logs_generic_handlers.sql
UPDATE ui_modals
SET config = '{"title":"Trip Logs","header":[{"type":"button","label":"Map View","onClick":"openTripMapView"}],"body":[{"type":"table","options":{"tableName":"vehicle_trips","addButton":false,"rowClick":"openTripDetail","showGlobalSearch":true}}],"footer":[{"type":"button","label":"Close","onClick":"closeModal"}]}'
WHERE name = 'Trip Logs';
