Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Improve messages (#3308)
Thomas Kaul7788b5a98760
diff --git a/apps/client/src/app/core/http-response.interceptor.ts b/apps/client/src/app/core/http-response.interceptor.tsindex 15a0d2e9fd..5314c10f13 100644--- a/apps/client/src/app/core/http-response.interceptor.ts+++ b/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,