|
@@ -8,10 +8,10 @@ import PasswordSettings from './PasswordSettings';
|
|
|
import ExternalAccountLinkedMe from './ExternalAccountLinkedMe';
|
|
import ExternalAccountLinkedMe from './ExternalAccountLinkedMe';
|
|
|
import ApiSettings from './ApiSettings';
|
|
import ApiSettings from './ApiSettings';
|
|
|
|
|
|
|
|
-import UserIcon from '../Icons/UserIcon';
|
|
|
|
|
-import ShareAltIcon from '../Icons/ShareAltIcon';
|
|
|
|
|
-import LockIcon from '../Icons/LooockIcon';
|
|
|
|
|
-import PaperPlaneIcon from '../Icons/PaperPlaneIcon';
|
|
|
|
|
|
|
+// import UserIcon from '../Icons/UserIcon';
|
|
|
|
|
+// import ShareAltIcon from '../Icons/ShareAltIcon';
|
|
|
|
|
+// import LockIcon from '../Icons/LooockIcon';
|
|
|
|
|
+// import PaperPlaneIcon from '../Icons/PaperPlaneIcon';
|
|
|
|
|
|
|
|
const PersonalSettings = (props) => {
|
|
const PersonalSettings = (props) => {
|
|
|
|
|
|
|
@@ -20,25 +20,25 @@ const PersonalSettings = (props) => {
|
|
|
const navTabMapping = useMemo(() => {
|
|
const navTabMapping = useMemo(() => {
|
|
|
return {
|
|
return {
|
|
|
user_infomation: {
|
|
user_infomation: {
|
|
|
- Icon: UserIcon,
|
|
|
|
|
|
|
+ Icon: () => <i className="icon-fw icon-user"></i>,
|
|
|
Content: UserSettings,
|
|
Content: UserSettings,
|
|
|
i18n: t('User Information'),
|
|
i18n: t('User Information'),
|
|
|
index: 0,
|
|
index: 0,
|
|
|
},
|
|
},
|
|
|
external_accounts: {
|
|
external_accounts: {
|
|
|
- Icon: ShareAltIcon,
|
|
|
|
|
|
|
+ Icon: () => <i className="icon-fw icon-share-alt"></i>,
|
|
|
Content: ExternalAccountLinkedMe,
|
|
Content: ExternalAccountLinkedMe,
|
|
|
i18n: t('admin:user_management.external_accounts'),
|
|
i18n: t('admin:user_management.external_accounts'),
|
|
|
index: 1,
|
|
index: 1,
|
|
|
},
|
|
},
|
|
|
password_settings: {
|
|
password_settings: {
|
|
|
- Icon: LockIcon,
|
|
|
|
|
|
|
+ Icon: () => <i className="icon-fw icon-lock"></i>,
|
|
|
Content: PasswordSettings,
|
|
Content: PasswordSettings,
|
|
|
i18n: t('Password Settings'),
|
|
i18n: t('Password Settings'),
|
|
|
index: 2,
|
|
index: 2,
|
|
|
},
|
|
},
|
|
|
api_settings: {
|
|
api_settings: {
|
|
|
- Icon: PaperPlaneIcon,
|
|
|
|
|
|
|
+ Icon: () => <i className="icon-fw icon-paper-plane"></i>,
|
|
|
Content: ApiSettings,
|
|
Content: ApiSettings,
|
|
|
i18n: t('API Settings'),
|
|
i18n: t('API Settings'),
|
|
|
index: 3,
|
|
index: 3,
|