From 622d90fdec122977a53878c9b51bcbf6eabc7cd3 Mon Sep 17 00:00:00 2001 From: Ivan Mitev <> Date: Thu, 11 Dec 2025 23:46:54 +0100 Subject: [PATCH] FIX: Organisation profile view rights bug --- src/app/app-routing.module.ts | 2 +- .../billing-info/billing-info.component.html | 40 +-- .../billing-info/billing-info.component.ts | 9 + .../org-info/org-info.component.html | 267 ++++++++++-------- .../org-info/org-info.component.ts | 25 +- src/app/shared/header/header.component.html | 8 +- 6 files changed, 207 insertions(+), 144 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index ad043153..bd5d8259 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -72,7 +72,7 @@ const routes: Routes = [ }, { path: 'profile', component: UserProfileComponent, - canActivate: [AuthGuard], data: { roles: ['individual','orgAdmin'] } + canActivate: [AuthGuard], data: { roles: [] } }, { path: 'my-offerings', component: SellerOfferingsComponent, diff --git a/src/app/pages/user-profile/profile-sections/billing-info/billing-info.component.html b/src/app/pages/user-profile/profile-sections/billing-info/billing-info.component.html index fd495793..ec2517d5 100644 --- a/src/app/pages/user-profile/profile-sections/billing-info/billing-info.component.html +++ b/src/app/pages/user-profile/profile-sections/billing-info/billing-info.component.html @@ -26,9 +26,11 @@
This field is mandatory.
- } + }