I have an ngIf that changes the view on click on the products screen. The starting view is the data in a mat table, but once you click the add product button and [cancel / add product / edit product] go back to the table view, it no longer sorts.
I've tried adding the view child to see if I can renderrows after an add, but no dice.
CODE: https://stackblitz.com/edit/angular-wez8lh
(Please excuse the horrendous CSS)
Is there a way to get it to sort again after [add / edit / cancel] without putting the form in another path or always showing it?