I am using mat-tab-group
to create two tabs which then link to other components:
<mat-tab-group>
<mat-tab label="Notifications">
<app-notification-rules-container>
</app-notification-rules-container>
</mat-tab>
<mat-tab label="Create New">
<app-notification-account>
</app-notification-account>
</mat-tab>
</mat-tab-group>
On the app-notification-account
component I have a cancel button and when that is clicked I want to go back to the first tab. How do I navigate back to the first tab from a different component class?