Manage Profile Page Tabs
The tabs in the manage profile page can be managed via ManageProfileTabsService
which is exposed by the @volo/abp.ng.account/public/config
package. You can add, remove, or edit a tab with using this service.
See the example below, covers all features:
What we have done above;
- Created the
manage-profile-page-tabs.provider.ts
. - Determined the
configureManageProfileTabs
function to perform manage profile tabs actions.- Added a new tab labeled "My awesome tab".
- Renamed the "Two factor" tab label.
- Removed the "Profile picture" tab.
- Determined the
MANAGE_PROFILE_TAB_PROVIDER
to be able to run theconfigureManageProfileTabs
function on initialization. - Registered the
MANAGE_PROFILE_TAB_PROVIDER
to theAppModule
providers.
See the result: