Browse Source

Improve messages (#3308)

pull/3311/head
Thomas Kaul 6 months ago
committed by GitHub
parent
commit
7788b5a987
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      apps/client/src/app/core/http-response.interceptor.ts

6
apps/client/src/app/core/http-response.interceptor.ts

@ -63,9 +63,11 @@ export class HttpResponseInterceptor implements HttpInterceptor {
undefined,
{ duration: 6000 }
);
} else if (!error.url.endsWith('auth/anonymous')) {
} else if (!error.url.includes('/auth')) {
this.snackBarRef = this.snackBar.open(
$localize`This feature requires a subscription.`,
this.hasPermissionForSubscription
? $localize`This feature requires a subscription.`
: $localize`This action is not allowed.`,
this.hasPermissionForSubscription
? $localize`Upgrade Plan`
: undefined,

Loading…
Cancel
Save