1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

fix(web): system username for DESKTOP mode

This commit is contained in:
Saad Jutt
2022-05-30 21:08:17 +05:00
parent 73c81a45dc
commit a8ba378fd1
3 changed files with 23 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import {
} from '@mui/material'
import { toast } from 'react-toastify'
import { AppContext } from '../../context/appContext'
import { AppContext, ModeType } from '../../context/appContext'
const Profile = () => {
const [isLoading, setIsLoading] = useState(false)
@@ -89,6 +89,7 @@ const Profile = () => {
required
value={user.displayName}
variant="outlined"
disabled={appContext.mode === ModeType.Desktop}
/>
</Grid>
@@ -103,6 +104,7 @@ const Profile = () => {
required
value={user.username}
variant="outlined"
disabled={appContext.mode === ModeType.Desktop}
/>
</Grid>