Browse Source
Improve http response interceptor (#2157)
Do not show snack bar for login endpoint
pull/2158/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
apps/client/src/app/core/http-response.interceptor.ts
|
|
@ -62,7 +62,7 @@ export class HttpResponseInterceptor implements HttpInterceptor { |
|
|
|
undefined, |
|
|
|
{ duration: 6000 } |
|
|
|
); |
|
|
|
} else { |
|
|
|
} else if (!error.url.endsWith('auth/anonymous')) { |
|
|
|
this.snackBarRef = this.snackBar.open( |
|
|
|
$localize`This feature requires a subscription.`, |
|
|
|
this.hasPermissionForSubscription |
|
|
|