diff --git a/bizmatch/package.json b/bizmatch/package.json index 3da7020..c804241 100644 --- a/bizmatch/package.json +++ b/bizmatch/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "scripts": { "ng": "ng", - "start": "ng serve --host 0.0.0.0 & http-server ../bizmatch-server", + "start": "ng serve --port=4300 --host 0.0.0.0 & http-server ../bizmatch-server", "prebuild": "node version.js", "build": "node version.js && ng build", "build.dev": "node version.js && ng build --configuration dev --output-hashing=all", @@ -77,4 +77,4 @@ "tailwindcss": "^3.4.4", "typescript": "~5.4.5" } -} +} \ No newline at end of file diff --git a/bizmatch/src/app/components/header/header.component.html b/bizmatch/src/app/components/header/header.component.html index 849ac29..352b86a 100644 --- a/bizmatch/src/app/components/header/header.component.html +++ b/bizmatch/src/app/components/header/header.component.html @@ -63,27 +63,18 @@
  • Account
  • - @if((user.customerType==='professional' && user.customerSubType==='broker') || user.customerType==='seller' || (authService.isAdmin() | async)){ + @if(isProfessional || (authService.isAdmin() | async) && user?.hasProfile){
  • - @if(user.customerType==='professional'){ Create Listing - }@else { - Create Listing - } -
  • -
  • - My Listings
  • }
  • - My Favorites + My Listings
  • - EMail Us + My Favorites
  • Logout @@ -96,7 +87,7 @@
  • } - -