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: reorder field names from json response

small adjust to #8

Kacaii 3a6470ee ce02544b

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