Improve http response interceptor (#2157)

Do not show snack bar for login endpoint
pull/2158/head
Thomas Kaul 2 years ago committed by GitHub
parent 2bf4f1237a
commit 6728e04ff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save