fix(account): add Account Settings to real sidebar nav
The Settings item wired in Task 7 lived in UserHeaderComponent, which is unused dead code (its selector is rendered nowhere). Add a real "Account Settings" entry to the Personal nav section of UserPortalComponent (the actual shell) pointing at /user-portal/account, and revert the ineffective user-header edit. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -100,7 +100,7 @@ export class UserHeaderComponent implements OnInit, OnDestroy {
|
|||||||
{
|
{
|
||||||
text: 'Settings',
|
text: 'Settings',
|
||||||
icon: 'settings',
|
icon: 'settings',
|
||||||
click: () => this.router.navigate(['/user-portal/account'])
|
disabled: true
|
||||||
},
|
},
|
||||||
{ separator: true },
|
{ separator: true },
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import {
|
|||||||
xIcon,
|
xIcon,
|
||||||
chevronDownIcon,
|
chevronDownIcon,
|
||||||
lockIcon,
|
lockIcon,
|
||||||
|
gearIcon,
|
||||||
} from '@progress/kendo-svg-icons';
|
} from '@progress/kendo-svg-icons';
|
||||||
import { AuthService, UserInfo } from '../../shared/services/auth.service';
|
import { AuthService, UserInfo } from '../../shared/services/auth.service';
|
||||||
import { PageHeaderService } from '../../shared/services/page-header.service';
|
import { PageHeaderService } from '../../shared/services/page-header.service';
|
||||||
@@ -145,6 +146,7 @@ export class UserPortalComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
public personalNavItems: NavItem[] = [
|
public personalNavItems: NavItem[] = [
|
||||||
{ text: 'My Reimbursements', icon: walletOutlineIcon, path: '/user-portal/reimbursements' },
|
{ text: 'My Reimbursements', icon: walletOutlineIcon, path: '/user-portal/reimbursements' },
|
||||||
|
{ text: 'Account Settings', icon: gearIcon, path: '/user-portal/account' },
|
||||||
];
|
];
|
||||||
|
|
||||||
public showMemberAdminSection = false;
|
public showMemberAdminSection = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user