|
1 |
| -import { AxiosResponse } from 'axios'; |
2 |
| -import React, { useEffect, useState } from 'react'; |
3 |
| -import { DqoUserProfileModel } from '../../api'; |
4 |
| -import { EnviromentApiClient, UsersApi } from '../../services/apiClient'; |
5 |
| -import { useSelector } from 'react-redux'; |
6 |
| -import { IRootState } from '../../redux/reducers'; |
7 |
| -import { useActionDispatch } from '../../hooks/useActionDispatch'; |
8 |
| -import { toggleProfile, setLicenseFree, setUserProfile } from '../../redux/actions/job.actions'; |
9 | 1 | import {
|
| 2 | + IconButton, |
10 | 3 | Popover,
|
11 |
| - PopoverHandler, |
12 | 4 | PopoverContent,
|
13 |
| - IconButton |
| 5 | + PopoverHandler |
14 | 6 | } from '@material-tailwind/react';
|
15 |
| -import SvgIcon from '../SvgIcon'; |
16 |
| -import Button from '../Button'; |
| 7 | +import { AxiosResponse } from 'axios'; |
17 | 8 | import moment from 'moment';
|
| 9 | +import React, { useEffect, useState } from 'react'; |
| 10 | +import { useSelector } from 'react-redux'; |
| 11 | +import { DqoUserProfileModel } from '../../api'; |
| 12 | +import { useActionDispatch } from '../../hooks/useActionDispatch'; |
| 13 | +import { setLicenseFree, setUserProfile, toggleProfile } from '../../redux/actions/job.actions'; |
| 14 | +import { IRootState } from '../../redux/reducers'; |
| 15 | +import { EnviromentApiClient, UsersApi } from '../../services/apiClient'; |
| 16 | +import Button from '../Button'; |
| 17 | +import SvgIcon from '../SvgIcon'; |
18 | 18 | import TextArea from '../TextArea';
|
19 | 19 | import ChangePrincipalPasswordDialog from './ChangePrincipalPasswordDialog';
|
20 | 20 |
|
@@ -92,7 +92,7 @@ export default function UserProfile({ name, email }: UserProfile) {
|
92 | 92 | </div>
|
93 | 93 | </IconButton>
|
94 | 94 | </PopoverHandler>
|
95 |
| - <PopoverContent className="bg-white h-110 w-70 rounded-md border border-gray-400 flex-col justify-center items-center z-50 text-black"> |
| 95 | + <PopoverContent className="bg-white h-110 w-70 rounded-md border border-gray-400 flex-col justify-center items-center z-50 text-black text-sm"> |
96 | 96 | <div className="flex justify-between items-center h-12 ">
|
97 | 97 | <div className="ml-1 flex items-center justify-center gap-x-2">
|
98 | 98 | {' '}
|
@@ -186,15 +186,15 @@ export default function UserProfile({ name, email }: UserProfile) {
|
186 | 186 | href="https://cloud.dqops.com/account"
|
187 | 187 | target="_blank"
|
188 | 188 | rel="noreferrer"
|
189 |
| - className="block text-teal-500 text-lg underline mb-3" |
| 189 | + className="block text-teal-500 text-sm underline mb-3" |
190 | 190 | >
|
191 | 191 | Manage account
|
192 | 192 | </a>
|
193 | 193 | }
|
194 | 194 | {userProfile.can_change_own_password === true &&
|
195 | 195 | <>
|
196 |
| - <div className='text-teal-500 mb-3 text-lg cursor-pointer underline' onClick={() => setOpen(true)}>Change password</div> |
197 |
| - <div className='text-green-500 pt-2 text-lg'>{passwordChangedMessage}</div> |
| 196 | + <div className='text-teal-500 mb-3 text-sm cursor-pointer underline' onClick={() => setOpen(true)}>Change password</div> |
| 197 | + <div className='text-green-500 pt-2 text-sm'>{passwordChangedMessage}</div> |
198 | 198 | </>
|
199 | 199 | }
|
200 | 200 | </div>
|
|
0 commit comments