After designing a Mat Dialog box with fields to enter information, clicking the create button on the dialog should add a new ticket to an array in the ticket service. However, despite the dialog box automatically closing after creating the ticket, the newly added ticket is not visible among the others on the main page. At first, I suspected that I had inadvertently overwritten the ticket service providers, but this does not seem to be the issue. The expected behavior is for the main page to display all tickets, including the newly created one, upon closing the dialog box.
If you have any further questions about the program or code, please don't hesitate to reach out to me.
You can find all the code on https://github.com/Erkanerkisi/IssueTracking