wip: currently rewriting the project as a full stack application tangled.org/kacaii.dev/sigo
gleam
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

:truck: use correct field names for json response

improves #8

Kacaii ce02544b 10f17d70

+4 -4
+4 -4
src/app/routes/dashboard.gleam
··· 53 53 recent_occurrences_count:, 54 54 ) = get_dashboard_stats_row 55 55 json.object([ 56 - #("active_brigades_count", json.int(active_brigades_count)), 57 - #("total_occurrences_count", json.int(total_occurrences_count)), 58 - #("active_occurrences_count", json.int(active_occurrences_count)), 59 - #("recent_occurrences_count", json.int(recent_occurrences_count)), 56 + #("equipesAtivas", json.int(active_brigades_count)), 57 + #("totalOcorrencias", json.int(total_occurrences_count)), 58 + #("emAndamento", json.int(active_occurrences_count)), 59 + #("ocorrenciasHoje", json.int(recent_occurrences_count)), 60 60 ]) 61 61 } 62 62