mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-18 18:54:07 +00:00
Split CompanyController and introduce standalone User Settings page
Backend: - Extract user profile methods (show, update, uploadAvatar) from CompanyController into new UserProfileController - CompanyController now only handles company concerns (updateCompany, uploadCompanyLogo) - Remove Account Settings from setting_menu config Frontend: - New /admin/user-settings page with 3 tabs: General, Profile Photo, Security (password change) - User dropdown now links to /admin/user-settings instead of /admin/settings/account-settings - Settings sidebar defaults to Company Information as first item - Remove old monolithic AccountSetting.vue
This commit is contained in:
@@ -130,16 +130,6 @@ return [
|
||||
* List of setting menu
|
||||
*/
|
||||
'setting_menu' => [
|
||||
[
|
||||
'title' => 'settings.menu_title.account_settings',
|
||||
'group' => '',
|
||||
'name' => 'Account Settings',
|
||||
'link' => '/admin/settings/account-settings',
|
||||
'icon' => 'UserIcon',
|
||||
'owner_only' => false,
|
||||
'ability' => '',
|
||||
'model' => '',
|
||||
],
|
||||
[
|
||||
'title' => 'settings.menu_title.company_information',
|
||||
'group' => '',
|
||||
|
||||
Reference in New Issue
Block a user