-- Update Incident Heatmap modal with graph-map and graph-chart
UPDATE ui_modals
SET config = '{"title":"Incident Heatmap","mapLibraries":{"provider":"google","libraries":"visualization"},"body":[{"type":"graph-map","options":{"endpoint":"../api/ohs_dashboard/heatmap","dataPath":"rows"}},{"type":"graph-chart","options":{"endpoint":"../api/ohs_dashboard/heatmap","dataPath":"chart","type":"bar"}}],"footer":[{"type":"button","label":"Close","onClick":"closeModal"}]}'
WHERE name = 'Incident Heatmap';
