Timeout nur für /ai Calls, URL compare change
This commit is contained in:
@@ -90,7 +90,7 @@ export class EditBusinessListingComponent {
|
||||
) {
|
||||
this.router.events.subscribe(event => {
|
||||
if (event instanceof NavigationEnd) {
|
||||
this.mode = event.url === '/createBusinessListing' ? 'create' : 'edit';
|
||||
this.mode = event.url.startsWith('/createBusinessListing') ? 'create' : 'edit';
|
||||
}
|
||||
});
|
||||
this.route.data.subscribe(async () => {
|
||||
|
||||
Reference in New Issue
Block a user