I have an array in which the data is coming from Server API.
Data format from API
raw: any = [];
{
data_from: "2021-11-18"
data_to: "2021-11-17"
id: "1"
material: [
{
id: 'm1',
qty: null,
mid: 22
}
]
}
I want to apply changes to existing data or add new data inside the array of material.
1 post - 1 participant