If someone can help me. I have the following array
[{resourceGroup: "grupo1", idsporgroup: Array(4)}
{resourceGroup: "grupo2", idsporgroup: Array(2)}
{resourceGroup: "grupo3", idsporgroup: Array(3)}
{resourceGroup: "grupo4", idsporgroup: Array(5)}]
idsporgroup[
{id: "123456", total: 4.04166666}
{id: "123456", total: 6.0833333199999995}
{id: "123456", total: 0.25804800000000006}
{id: "123456", total: 96}]
I'm passing a * ngFor="let a of consumptionResourceG" and {{a.idsporgroup}} and it only opens to me [object] if I put {{a.idsporgroup.id}} nothing appears, already converted to string and it worked ... I need to put ID and Total in specific places in HTML.
It has to stay Group1
id: 0000 total: 000
id: 0000 total: 000
id: 0000 total: 000
Group2
id: 0000 total: 000
Group3
id: 0000 total: 000
id: 0000 total: 000
Trying a ngFor inside the ngFor more without much success.