I am struggling to add the edited form data from edit-customers-dialog.ts into an array of objects in my datasource. The form.data.value is returning correctly, but I'm facing issues with inserting it properly into the array.
As a beginner in Angular, I can't find the correct syntax for pushing to an interface data type. Any help would be appreciated. Thank you!
customers.html
...
customers.component.ts
...
edit-customer-dialog.html
...
edit-customer-dialog-comptent.ts
...
datasource array:
...