Thomas Kaul
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
2 deletions
-
apps/client/src/app/core/http-response.interceptor.ts
|
@ -63,9 +63,11 @@ export class HttpResponseInterceptor implements HttpInterceptor { |
|
|
undefined, |
|
|
undefined, |
|
|
{ duration: 6000 } |
|
|
{ duration: 6000 } |
|
|
); |
|
|
); |
|
|
} else if (!error.url.endsWith('auth/anonymous')) { |
|
|
} else if (!error.url.includes('/auth')) { |
|
|
this.snackBarRef = this.snackBar.open( |
|
|
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 |
|
|
this.hasPermissionForSubscription |
|
|
? $localize`Upgrade Plan` |
|
|
? $localize`Upgrade Plan` |
|
|
: undefined, |
|
|
: undefined, |
|
|