Improve http response interceptor (#2157)
Do not show snack bar for login endpoint
This commit is contained in:
parent
2bf4f1237a
commit
6728e04ff7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user