Merge pull request #171 from bluewave-labs/feat/profileSettings-style
Feat/profile settings style
This commit is contained in:
8 files changed
+206
-291
No files matched your search
@@ -59,6 +59,9 @@ const Button = ({ type, level, label, disabled, img, onClick, sx }) => {
|
|||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
sx={{
|
sx={{
|
||||||
textTransform: "none",
|
textTransform: "none",
|
||||||
|
"&:focus": {
|
||||||
|
outline: "none",
|
||||||
|
},
|
||||||
...sx,
|
...sx,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -70,7 +70,13 @@ const ButtonSpinner = ({
|
|||||||
endIcon={position === "end" && img}
|
endIcon={position === "end" && img}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
sx={{ textTransform: "none", ...sx }}
|
sx={{
|
||||||
|
textTransform: "none",
|
||||||
|
"&:focus": {
|
||||||
|
outline: "none",
|
||||||
|
},
|
||||||
|
...sx,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<span>{label}</span>
|
<span>{label}</span>
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
|
|||||||
@@ -12,10 +12,6 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-menu-container{
|
|
||||||
padding-top: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.support-container {
|
.support-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -40,29 +40,22 @@ const PasswordPanel = () => {
|
|||||||
}, 2000);
|
}, 2000);
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<TabPanel
|
<TabPanel value="1">
|
||||||
value="1"
|
|
||||||
sx={{ padding: "0", marginTop: theme.spacing(6.25), width: "100%" }}
|
|
||||||
>
|
|
||||||
<form className="edit-password-form" noValidate spellCheck="false">
|
<form className="edit-password-form" noValidate spellCheck="false">
|
||||||
<div className="edit-password-form__wrapper">
|
<div className="edit-password-form__wrapper">
|
||||||
<AnnouncementsDualButtonWithIcon
|
<AnnouncementsDualButtonWithIcon
|
||||||
icon={<InfoOutlinedIcon style={{ fill: "#344054" }} />}
|
icon={<InfoOutlinedIcon style={{ fill: theme.palette.secondary.main }} />}
|
||||||
subject="SSO login"
|
subject="SSO login"
|
||||||
body="Since you logged in via SSO, you cannot reset or modify your password."
|
body="Since you logged in via SSO, you cannot reset or modify your password."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="edit-password-form__wrapper">
|
<div className="edit-password-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Current Password
|
Current Password
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<FormControl sx={{ flex: 1, minWidth: theme.spacing(30) }}>
|
<FormControl sx={{ flex: 1 }}>
|
||||||
<OutlinedInput
|
<OutlinedInput
|
||||||
id="edit-current-password"
|
id="edit-current-password"
|
||||||
value="RandomPasswordLol"
|
value="RandomPasswordLol"
|
||||||
@@ -80,11 +73,7 @@ const PasswordPanel = () => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{!showPassword ? (
|
{!showPassword ? <VisibilityOff /> : <Visibility />}
|
||||||
<VisibilityOff sx={{ fill: "#98A2B3" }} />
|
|
||||||
) : (
|
|
||||||
<Visibility sx={{ fill: "#98A2B3" }} />
|
|
||||||
)}
|
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
}
|
}
|
||||||
@@ -92,16 +81,12 @@ const PasswordPanel = () => {
|
|||||||
</FormControl>
|
</FormControl>
|
||||||
</div>
|
</div>
|
||||||
<div className="edit-password-form__wrapper">
|
<div className="edit-password-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Password
|
Password
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<FormControl sx={{ flex: 1, minWidth: theme.spacing(30) }}>
|
<FormControl sx={{ flex: 1 }}>
|
||||||
<OutlinedInput
|
<OutlinedInput
|
||||||
id="edit-password"
|
id="edit-password"
|
||||||
value="RandomPasswordLol"
|
value="RandomPasswordLol"
|
||||||
@@ -119,11 +104,7 @@ const PasswordPanel = () => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{!showPassword ? (
|
{!showPassword ? <VisibilityOff /> : <Visibility />}
|
||||||
<VisibilityOff sx={{ fill: "#98A2B3" }} />
|
|
||||||
) : (
|
|
||||||
<Visibility sx={{ fill: "#98A2B3" }} />
|
|
||||||
)}
|
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
}
|
}
|
||||||
@@ -131,27 +112,19 @@ const PasswordPanel = () => {
|
|||||||
</FormControl>
|
</FormControl>
|
||||||
</div>
|
</div>
|
||||||
<div className="edit-password-form__wrapper">
|
<div className="edit-password-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Confirm new password
|
Confirm new password
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Box sx={{ flex: 1, minWidth: theme.spacing(30) }}>
|
<Box sx={{ flex: 1 }}>
|
||||||
<AnnouncementsDualButtonWithIcon
|
<AnnouncementsDualButtonWithIcon
|
||||||
icon={<WarningAmberOutlinedIcon style={{ fill: "#f79009" }} />}
|
icon={<WarningAmberOutlinedIcon style={{ fill: "#f79009" }} />}
|
||||||
body="New password must contain at least 8 characters and must have at least one uppercase letter, one number and one symbol."
|
body="New password must contain at least 8 characters and must have at least one uppercase letter, one number and one symbol."
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</div>
|
</div>
|
||||||
<Divider
|
<Divider aria-hidden="true" width="0" />
|
||||||
aria-hidden="true"
|
|
||||||
width="0"
|
|
||||||
sx={{ marginY: theme.spacing(6.25) }}
|
|
||||||
/>
|
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
<Stack direction="row" justifyContent="flex-end">
|
||||||
<Box width="fit-content">
|
<Box width="fit-content">
|
||||||
<ButtonSpinner
|
<ButtonSpinner
|
||||||
@@ -162,11 +135,6 @@ const PasswordPanel = () => {
|
|||||||
loadingText="Saving..."
|
loadingText="Saving..."
|
||||||
sx={{
|
sx={{
|
||||||
paddingX: "40px",
|
paddingX: "40px",
|
||||||
height: "fit-content",
|
|
||||||
fontSize: "13px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -177,7 +145,7 @@ const PasswordPanel = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
PasswordPanel.propTypes = {
|
PasswordPanel.propTypes = {
|
||||||
// No props are being passed to this component, hence no specific PropTypes are defined.
|
// No props are being passed to this component, hence no specific PropTypes are defined.
|
||||||
};
|
};
|
||||||
|
|
||||||
export default PasswordPanel;
|
export default PasswordPanel;
|
||||||
@@ -54,17 +54,10 @@ const ProfilePanel = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TabPanel
|
<TabPanel value="0">
|
||||||
value="0"
|
|
||||||
sx={{ padding: "0", marginTop: theme.spacing(6.25), width: "100%" }}
|
|
||||||
>
|
|
||||||
<form className="edit-profile-form" noValidate spellCheck="false">
|
<form className="edit-profile-form" noValidate spellCheck="false">
|
||||||
<div className="edit-profile-form__wrapper">
|
<div className="edit-profile-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
First Name
|
First Name
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -75,16 +68,11 @@ const ProfilePanel = () => {
|
|||||||
placeholder="Enter your first name"
|
placeholder="Enter your first name"
|
||||||
sx={{
|
sx={{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
minWidth: theme.spacing(30),
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="edit-profile-form__wrapper">
|
<div className="edit-profile-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Last Name
|
Last Name
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -95,16 +83,11 @@ const ProfilePanel = () => {
|
|||||||
placeholder="Enter your last name"
|
placeholder="Enter your last name"
|
||||||
sx={{
|
sx={{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
minWidth: theme.spacing(30),
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="edit-profile-form__wrapper">
|
<div className="edit-profile-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Email
|
Email
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -118,16 +101,11 @@ const ProfilePanel = () => {
|
|||||||
placeholder="Enter your email"
|
placeholder="Enter your email"
|
||||||
sx={{
|
sx={{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
minWidth: theme.spacing(30),
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="edit-profile-form__wrapper">
|
<div className="edit-profile-form__wrapper">
|
||||||
<Stack
|
<Stack>
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Your Photo
|
Your Photo
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -135,7 +113,7 @@ const ProfilePanel = () => {
|
|||||||
This photo will be displayed in your profile page.
|
This photo will be displayed in your profile page.
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack direction="row" alignItems="center" sx={{ flex: 1 }}>
|
<Stack className="row-stack" direction="row" alignItems="center">
|
||||||
{/* TODO - Use Avatar component instead of @mui */}
|
{/* TODO - Use Avatar component instead of @mui */}
|
||||||
<Avatar
|
<Avatar
|
||||||
alt="Remy Sharp"
|
alt="Remy Sharp"
|
||||||
@@ -148,13 +126,6 @@ const ProfilePanel = () => {
|
|||||||
label="Delete"
|
label="Delete"
|
||||||
onClick={handleDeletePicture}
|
onClick={handleDeletePicture}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
sx={{
|
|
||||||
height: "fit-content",
|
|
||||||
fontSize: "13px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
{/* TODO - modal popup for update pfp? */}
|
{/* TODO - modal popup for update pfp? */}
|
||||||
<Button
|
<Button
|
||||||
@@ -162,18 +133,33 @@ const ProfilePanel = () => {
|
|||||||
label="Update"
|
label="Update"
|
||||||
onClick={handleUpdatePicture}
|
onClick={handleUpdatePicture}
|
||||||
sx={{
|
sx={{
|
||||||
height: "fit-content",
|
|
||||||
color: theme.palette.primary.main,
|
color: theme.palette.primary.main,
|
||||||
fontSize: "13px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</div>
|
</div>
|
||||||
|
<Divider
|
||||||
|
aria-hidden="true"
|
||||||
|
className="short-divider"
|
||||||
|
width="0"
|
||||||
|
sx={{ marginY: theme.spacing(1) }}
|
||||||
|
/>
|
||||||
|
<Stack direction="row" justifyContent="flex-end">
|
||||||
|
<Box width="fit-content">
|
||||||
|
<ButtonSpinner
|
||||||
|
level="primary"
|
||||||
|
label="Save"
|
||||||
|
onClick={handleSaveProfile}
|
||||||
|
isLoading={isLoading}
|
||||||
|
loadingText="Saving..."
|
||||||
|
sx={{
|
||||||
|
paddingX: "40px",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
|
</Stack>
|
||||||
</form>
|
</form>
|
||||||
<Divider aria-hidden="true" sx={{ marginY: theme.spacing(6.25) }} />
|
<Divider aria-hidden="true" />
|
||||||
<form className="delete-profile-form" noValidate spellCheck="false">
|
<form className="delete-profile-form" noValidate spellCheck="false">
|
||||||
<div className="delete-profile-form__wrapper">
|
<div className="delete-profile-form__wrapper">
|
||||||
<Stack direction="column" gap="15px">
|
<Stack direction="column" gap="15px">
|
||||||
@@ -189,41 +175,11 @@ const ProfilePanel = () => {
|
|||||||
level="error"
|
level="error"
|
||||||
label="Delete account"
|
label="Delete account"
|
||||||
onClick={() => setIsOpen(true)}
|
onClick={() => setIsOpen(true)}
|
||||||
sx={{
|
|
||||||
fontSize: "13px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<Divider
|
|
||||||
aria-hidden="true"
|
|
||||||
width="0"
|
|
||||||
sx={{ marginY: theme.spacing(6.25) }}
|
|
||||||
/>
|
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
|
||||||
<Box width="fit-content">
|
|
||||||
<ButtonSpinner
|
|
||||||
level="primary"
|
|
||||||
label="Save"
|
|
||||||
onClick={handleSaveProfile}
|
|
||||||
isLoading={isLoading}
|
|
||||||
loadingText="Saving..."
|
|
||||||
sx={{
|
|
||||||
paddingX: "40px",
|
|
||||||
height: "fit-content",
|
|
||||||
fontSize: "13px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Box>
|
|
||||||
</Stack>
|
|
||||||
{/* TODO - Update ModalPopup Component with @mui for reusability */}
|
{/* TODO - Update ModalPopup Component with @mui for reusability */}
|
||||||
<Modal
|
<Modal
|
||||||
aria-labelledby="modal-delete-account"
|
aria-labelledby="modal-delete-account"
|
||||||
@@ -242,7 +198,7 @@ const ProfilePanel = () => {
|
|||||||
width: 400,
|
width: 400,
|
||||||
bgcolor: "white",
|
bgcolor: "white",
|
||||||
border: "solid 1px #f2f2f2",
|
border: "solid 1px #f2f2f2",
|
||||||
borderRadius: "4px",
|
borderRadius: `${theme.shape.borderRadius}px`,
|
||||||
boxShadow: 24,
|
boxShadow: 24,
|
||||||
p: "30px",
|
p: "30px",
|
||||||
"&:focus": {
|
"&:focus": {
|
||||||
@@ -257,10 +213,6 @@ const ProfilePanel = () => {
|
|||||||
id="delete-account-confirmation"
|
id="delete-account-confirmation"
|
||||||
variant="h5"
|
variant="h5"
|
||||||
component="p"
|
component="p"
|
||||||
sx={{
|
|
||||||
color: theme.palette.secondary.main,
|
|
||||||
fontSize: "13px",
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
If you delete your account, you will no longer be able to sign in,
|
If you delete your account, you will no longer be able to sign in,
|
||||||
and all of your data will be deleted. Deleting your account is
|
and all of your data will be deleted. Deleting your account is
|
||||||
@@ -271,14 +223,12 @@ const ProfilePanel = () => {
|
|||||||
level="tertiary"
|
level="tertiary"
|
||||||
label="Cancel"
|
label="Cancel"
|
||||||
onClick={() => setIsOpen(false)}
|
onClick={() => setIsOpen(false)}
|
||||||
sx={{ fontSize: "13px" }}
|
|
||||||
/>
|
/>
|
||||||
<ButtonSpinner
|
<ButtonSpinner
|
||||||
level="error"
|
level="error"
|
||||||
label="Delete account"
|
label="Delete account"
|
||||||
onClick={handleDeleteAccount}
|
onClick={handleDeleteAccount}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
sx={{ fontSize: "13px" }}
|
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -184,27 +184,22 @@ const TeamPanel = () => {
|
|||||||
return count;
|
return count;
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<TabPanel
|
<TabPanel value="2">
|
||||||
value="2"
|
<form className="edit-organization-form">
|
||||||
sx={{ padding: "0", marginTop: theme.spacing(6.25), width: "100%" }}
|
<div
|
||||||
>
|
className="edit-organization-form__wrapper"
|
||||||
<form className="edit-team-form" noValidate spellCheck="false">
|
>
|
||||||
<div className="edit-team-form__wrapper">
|
<Stack>
|
||||||
<Stack
|
|
||||||
direction="column"
|
|
||||||
gap="8px"
|
|
||||||
sx={{ flex: 1, marginRight: "10px" }}
|
|
||||||
>
|
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Organization name
|
Organization name
|
||||||
</Typography>
|
</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack
|
<Stack
|
||||||
id="org-name-flex-container"
|
id="org-name-flex-container"
|
||||||
|
className="row-stack"
|
||||||
direction="row"
|
direction="row"
|
||||||
justifyContent="flex-end"
|
justifyContent="flex-end"
|
||||||
gap="8px"
|
gap="8px"
|
||||||
sx={{ flex: 1 }}
|
|
||||||
>
|
>
|
||||||
<ButtonSpinner
|
<ButtonSpinner
|
||||||
level="tertiary"
|
level="tertiary"
|
||||||
@@ -212,50 +207,103 @@ const TeamPanel = () => {
|
|||||||
disabled
|
disabled
|
||||||
onClick={() => toggleOrgModal(true)}
|
onClick={() => toggleOrgModal(true)}
|
||||||
isLoading={orgStates.isLoading}
|
isLoading={orgStates.isLoading}
|
||||||
sx={{ fontSize: "13px" }}
|
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
level="primary"
|
level="primary"
|
||||||
label="Rename"
|
label="Rename"
|
||||||
sx={{ paddingX: "30px", fontSize: "13px" }}
|
sx={{ paddingX: "30px" }}
|
||||||
onClick={() => toggleOrgModal(true)}
|
onClick={() => toggleOrgModal(true)}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</div>
|
</div>
|
||||||
|
<Divider
|
||||||
|
aria-hidden="true"
|
||||||
|
className="short-divider"
|
||||||
|
sx={{ marginY: theme.spacing(4) }}
|
||||||
|
/>
|
||||||
|
</form>
|
||||||
|
<Modal
|
||||||
|
aria-labelledby="modal-edit-org-name"
|
||||||
|
aria-describedby="edit-organization-name"
|
||||||
|
open={orgStates.isOpen}
|
||||||
|
onClose={() => toggleOrgModal(false)}
|
||||||
|
disablePortal
|
||||||
|
>
|
||||||
|
<Stack
|
||||||
|
gap="20px"
|
||||||
|
sx={{
|
||||||
|
position: "absolute",
|
||||||
|
top: "50%",
|
||||||
|
left: "50%",
|
||||||
|
transform: "translate(-50%, -50%)",
|
||||||
|
width: 400,
|
||||||
|
bgcolor: "white",
|
||||||
|
border: "solid 1px #f2f2f2",
|
||||||
|
borderRadius: `${theme.shape.borderRadius}px`,
|
||||||
|
boxShadow: 24,
|
||||||
|
p: "30px",
|
||||||
|
"&:focus": {
|
||||||
|
outline: "none",
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Typography id="modal-edit-org-name" variant="h4" component="h1">
|
||||||
|
Rename this organization?
|
||||||
|
</Typography>
|
||||||
|
<TextField
|
||||||
|
id="edit-organization-name"
|
||||||
|
placeholder={orgStates.name}
|
||||||
|
spellCheck="false"
|
||||||
|
value={orgStates.newName}
|
||||||
|
onChange={(event) =>
|
||||||
|
setOrgStates((prev) => ({
|
||||||
|
...prev,
|
||||||
|
newName: event.target.value,
|
||||||
|
}))
|
||||||
|
}
|
||||||
|
></TextField>
|
||||||
|
<Stack direction="row" gap="10px" mt="10px" justifyContent="flex-end">
|
||||||
|
<Button
|
||||||
|
level="tertiary"
|
||||||
|
label="Cancel"
|
||||||
|
onClick={() => toggleOrgModal(false)}
|
||||||
|
/>
|
||||||
|
<ButtonSpinner
|
||||||
|
level="primary"
|
||||||
|
label="Rename"
|
||||||
|
onClick={handleRenameOrg}
|
||||||
|
isLoading={orgStates.isLoading}
|
||||||
|
sx={{ paddingX: "30px" }}
|
||||||
|
/>
|
||||||
|
</Stack>
|
||||||
|
</Stack>
|
||||||
|
</Modal>
|
||||||
|
<form className="edit-team-form" noValidate spellCheck="false">
|
||||||
<div className="edit-team-form__wrapper">
|
<div className="edit-team-form__wrapper">
|
||||||
<Typography variant="h4" component="h1">
|
<Typography variant="h4" component="h1">
|
||||||
Team members
|
Team members
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div className="edit-team-form__wrapper compact">
|
||||||
className="edit-team-form__wrapper compact"
|
|
||||||
style={{ alignItems: "center" }}
|
|
||||||
>
|
|
||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
gap="20px"
|
gap="20px"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
sx={{ flex: 1, fontSize: "14px" }}
|
sx={{ fontSize: "14px" }}
|
||||||
>
|
>
|
||||||
<Box onClick={() => handleFilter("")} sx={{ cursor: "pointer" }}>
|
<Box onClick={() => handleFilter("")}>
|
||||||
All
|
All
|
||||||
<span className="members-query">
|
<span className="members-query">
|
||||||
<span>{handleMembersQuery("")}</span>
|
<span>{handleMembersQuery("")}</span>
|
||||||
</span>
|
</span>
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
<Box onClick={() => handleFilter("admin")}>
|
||||||
onClick={() => handleFilter("admin")}
|
|
||||||
sx={{ cursor: "pointer" }}
|
|
||||||
>
|
|
||||||
Administrator
|
Administrator
|
||||||
<span className="members-query">
|
<span className="members-query">
|
||||||
<span>{handleMembersQuery("admin")}</span>
|
<span>{handleMembersQuery("admin")}</span>
|
||||||
</span>
|
</span>
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
<Box onClick={() => handleFilter("member")}>
|
||||||
onClick={() => handleFilter("member")}
|
|
||||||
sx={{ cursor: "pointer" }}
|
|
||||||
>
|
|
||||||
Member
|
Member
|
||||||
<span className="members-query">
|
<span className="members-query">
|
||||||
<span>{handleMembersQuery("member")}</span>
|
<span>{handleMembersQuery("member")}</span>
|
||||||
@@ -265,7 +313,7 @@ const TeamPanel = () => {
|
|||||||
<Button
|
<Button
|
||||||
level="primary"
|
level="primary"
|
||||||
label="Invite a team member"
|
label="Invite a team member"
|
||||||
sx={{ paddingX: "30px", fontSize: "13px" }}
|
sx={{ paddingX: "30px" }}
|
||||||
onClick={() => setToggleInviteModal(true)}
|
onClick={() => setToggleInviteModal(true)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -279,14 +327,15 @@ const TeamPanel = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Stack direction="row" gap="40px" p="20px">
|
<Stack direction="row" gap="40px" p="20px">
|
||||||
<Stack direction="row" gap="10px" alignItems="center">
|
<Stack
|
||||||
|
direction="row"
|
||||||
|
gap="10px"
|
||||||
|
alignItems="center"
|
||||||
|
className="table-stack"
|
||||||
|
>
|
||||||
<Select
|
<Select
|
||||||
id="select-actions"
|
id="select-actions"
|
||||||
value="bulk"
|
value="bulk"
|
||||||
sx={{
|
|
||||||
fontSize: "13px",
|
|
||||||
color: theme.palette.secondary.main,
|
|
||||||
}}
|
|
||||||
inputProps={{ id: "select-actions-input" }}
|
inputProps={{ id: "select-actions-input" }}
|
||||||
>
|
>
|
||||||
{actionsConfig.map((action) => (
|
{actionsConfig.map((action) => (
|
||||||
@@ -305,9 +354,6 @@ const TeamPanel = () => {
|
|||||||
onClick={handleSelectActionType}
|
onClick={handleSelectActionType}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
sx={{
|
sx={{
|
||||||
height: "fit-content",
|
|
||||||
fontSize: "13px",
|
|
||||||
fontWeight: 500,
|
|
||||||
bgcolor: "#fafafa",
|
bgcolor: "#fafafa",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -316,10 +362,6 @@ const TeamPanel = () => {
|
|||||||
<Select
|
<Select
|
||||||
id="select-role"
|
id="select-role"
|
||||||
value="role"
|
value="role"
|
||||||
sx={{
|
|
||||||
fontSize: "13px",
|
|
||||||
color: theme.palette.secondary.main,
|
|
||||||
}}
|
|
||||||
inputProps={{ id: "select-role-input" }}
|
inputProps={{ id: "select-role-input" }}
|
||||||
>
|
>
|
||||||
{roleConfig.map((role) => (
|
{roleConfig.map((role) => (
|
||||||
@@ -338,9 +380,6 @@ const TeamPanel = () => {
|
|||||||
onClick={handleSelectRoleType}
|
onClick={handleSelectRoleType}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
sx={{
|
sx={{
|
||||||
height: "fit-content",
|
|
||||||
fontSize: "13px",
|
|
||||||
fontWeight: 500,
|
|
||||||
bgcolor: "#fafafa",
|
bgcolor: "#fafafa",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -408,11 +447,7 @@ const TeamPanel = () => {
|
|||||||
</Table>
|
</Table>
|
||||||
</Container>
|
</Container>
|
||||||
</div>
|
</div>
|
||||||
<Divider
|
<Divider aria-hidden="true" width="0" />
|
||||||
aria-hidden="true"
|
|
||||||
width="0"
|
|
||||||
sx={{ marginY: theme.spacing(6.25) }}
|
|
||||||
/>
|
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
<Stack direction="row" justifyContent="flex-end">
|
||||||
<Box width="fit-content">
|
<Box width="fit-content">
|
||||||
<ButtonSpinner
|
<ButtonSpinner
|
||||||
@@ -423,73 +458,11 @@ const TeamPanel = () => {
|
|||||||
loadingText="Saving..."
|
loadingText="Saving..."
|
||||||
sx={{
|
sx={{
|
||||||
paddingX: "40px",
|
paddingX: "40px",
|
||||||
height: "fit-content",
|
|
||||||
fontSize: "13px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
</form>
|
</form>
|
||||||
<Modal
|
|
||||||
aria-labelledby="modal-edit-org-name"
|
|
||||||
aria-describedby="edit-organization-name"
|
|
||||||
open={orgStates.isOpen}
|
|
||||||
onClose={() => toggleOrgModal(false)}
|
|
||||||
disablePortal
|
|
||||||
>
|
|
||||||
<Stack
|
|
||||||
gap="20px"
|
|
||||||
sx={{
|
|
||||||
position: "absolute",
|
|
||||||
top: "50%",
|
|
||||||
left: "50%",
|
|
||||||
transform: "translate(-50%, -50%)",
|
|
||||||
width: 400,
|
|
||||||
bgcolor: "white",
|
|
||||||
border: "solid 1px #f2f2f2",
|
|
||||||
borderRadius: "4px",
|
|
||||||
boxShadow: 24,
|
|
||||||
p: "30px",
|
|
||||||
"&:focus": {
|
|
||||||
outline: "none",
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Typography id="modal-edit-org-name" variant="h4" component="h1">
|
|
||||||
Rename this organization?
|
|
||||||
</Typography>
|
|
||||||
<TextField
|
|
||||||
id="edit-organization-name"
|
|
||||||
placeholder={orgStates.name}
|
|
||||||
spellCheck="false"
|
|
||||||
value={orgStates.newName}
|
|
||||||
onChange={(event) =>
|
|
||||||
setOrgStates((prev) => ({
|
|
||||||
...prev,
|
|
||||||
newName: event.target.value,
|
|
||||||
}))
|
|
||||||
}
|
|
||||||
></TextField>
|
|
||||||
<Stack direction="row" gap="10px" mt="10px" justifyContent="flex-end">
|
|
||||||
<Button
|
|
||||||
level="tertiary"
|
|
||||||
label="Cancel"
|
|
||||||
onClick={() => toggleOrgModal(false)}
|
|
||||||
sx={{ fontSize: "13px" }}
|
|
||||||
/>
|
|
||||||
<ButtonSpinner
|
|
||||||
level="primary"
|
|
||||||
label="Rename"
|
|
||||||
onClick={handleRenameOrg}
|
|
||||||
isLoading={orgStates.isLoading}
|
|
||||||
sx={{ fontSize: "13px", paddingX: "30px" }}
|
|
||||||
/>
|
|
||||||
</Stack>
|
|
||||||
</Stack>
|
|
||||||
</Modal>
|
|
||||||
<Modal
|
<Modal
|
||||||
aria-labelledby="modal-invite-member"
|
aria-labelledby="modal-invite-member"
|
||||||
aria-describedby="invite-member-to-team"
|
aria-describedby="invite-member-to-team"
|
||||||
@@ -507,7 +480,7 @@ const TeamPanel = () => {
|
|||||||
width: 400,
|
width: 400,
|
||||||
bgcolor: "white",
|
bgcolor: "white",
|
||||||
border: "solid 1px #f2f2f2",
|
border: "solid 1px #f2f2f2",
|
||||||
borderRadius: "4px",
|
borderRadius: `${theme.shape.borderRadius}px`,
|
||||||
boxShadow: 24,
|
boxShadow: 24,
|
||||||
p: "30px",
|
p: "30px",
|
||||||
"&:focus": {
|
"&:focus": {
|
||||||
@@ -518,15 +491,7 @@ const TeamPanel = () => {
|
|||||||
<Typography id="modal-invite-member" variant="h4" component="h1">
|
<Typography id="modal-invite-member" variant="h4" component="h1">
|
||||||
Invite new team member
|
Invite new team member
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography
|
<Typography id="invite-member-to-team" variant="h5" component="p">
|
||||||
id="invite-member-to-team"
|
|
||||||
variant="h5"
|
|
||||||
component="p"
|
|
||||||
sx={{
|
|
||||||
color: theme.palette.secondary.main,
|
|
||||||
fontSize: "13px",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
When you add a new team member, they will get access to all
|
When you add a new team member, they will get access to all
|
||||||
monitors.
|
monitors.
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -546,14 +511,12 @@ const TeamPanel = () => {
|
|||||||
level="tertiary"
|
level="tertiary"
|
||||||
label="Cancel"
|
label="Cancel"
|
||||||
onClick={() => setToggleInviteModal(false)}
|
onClick={() => setToggleInviteModal(false)}
|
||||||
sx={{ fontSize: "13px" }}
|
|
||||||
/>
|
/>
|
||||||
<ButtonSpinner
|
<ButtonSpinner
|
||||||
level="primary"
|
level="primary"
|
||||||
label="Send invite"
|
label="Send invite"
|
||||||
onClick={handleInviteMember}
|
onClick={handleInviteMember}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
sx={{ fontSize: "13px" }}
|
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -1,47 +1,67 @@
|
|||||||
.edit-profile-form,
|
.settings h1.MuiTypography-root,
|
||||||
.edit-password-form,
|
.settings p.MuiTypography-root,
|
||||||
.delete-profile-form,
|
.settings input,
|
||||||
.edit-team-form {
|
.settings button,
|
||||||
|
.settings td,
|
||||||
|
.settings .MuiSelect-select {
|
||||||
|
font-size: var(--env-var-font-size-medium);
|
||||||
|
}
|
||||||
|
.settings h1.MuiTypography-root,
|
||||||
|
.settings p.MuiTypography-root,
|
||||||
|
.settings input,
|
||||||
|
.settings .MuiSelect-select {
|
||||||
|
color: var(--env-var-color-2);
|
||||||
|
}
|
||||||
|
.settings h1.MuiTypography-root {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.settings .MuiStack-root:not(.table-stack) {
|
||||||
|
flex: 1;
|
||||||
|
-webkit-flex: 1;
|
||||||
|
-ms-flex: 1;
|
||||||
|
}
|
||||||
|
.settings .MuiTabPanel-root {
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 50px;
|
||||||
|
}
|
||||||
|
.settings .MuiDivider-root:not(.short-divider) {
|
||||||
|
margin: 50px 0;
|
||||||
|
}
|
||||||
|
.settings .MuiDivider-root,
|
||||||
|
.settings .MuiOutlinedInput-root fieldset,
|
||||||
|
.announcement-tile {
|
||||||
|
border-color: var(--env-var-color-29);
|
||||||
|
}
|
||||||
|
[class$="-form"] {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
.edit-profile-form__wrapper,
|
[class$="__wrapper"],
|
||||||
.delete-profile-form__wrapper {
|
[class$="__wrapper compact"] {
|
||||||
width: 90%;
|
|
||||||
}
|
|
||||||
.edit-profile-form__wrapper,
|
|
||||||
.delete-profile-form__wrapper,
|
|
||||||
.edit-password-form__wrapper,
|
|
||||||
.edit-team-form__wrapper {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
.edit-profile-form__wrapper h1.MuiTypography-root,
|
.edit-profile-form__wrapper .MuiStack-root:not(.row-stack),
|
||||||
.delete-profile-form__wrapper h1.MuiTypography-root,
|
.edit-password-form__wrapper .MuiStack-root:not(.row-stack),
|
||||||
.edit-password-form__wrapper h1.MuiTypography-root,
|
.edit-organization-form__wrapper .MuiStack-root:not(.row-stack) {
|
||||||
.edit-team-form__wrapper h1.MuiTypography-root {
|
flex-direction: column;
|
||||||
font-size: var(--env-var-font-size-medium);
|
gap: 8px;
|
||||||
color: var(--env-var-color-2);
|
margin-right: 10px;
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
.edit-profile-form__wrapper p.MuiTypography-root,
|
.edit-profile-form__wrapper p.MuiTypography-root,
|
||||||
.delete-profile-form__wrapper p.MuiTypography-root {
|
.delete-profile-form__wrapper p.MuiTypography-root {
|
||||||
font-size: var(--env-var-font-size-medium);
|
|
||||||
color: var(--env-var-color-2);
|
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
#modal-delete-account,
|
#modal-delete-account,
|
||||||
#modal-edit-org-name,
|
#modal-edit-org-name,
|
||||||
#modal-invite-member {
|
#modal-invite-member {
|
||||||
font-size: var(--env-var-font-size-large);
|
font-size: var(--env-var-font-size-large);
|
||||||
color: var(--env-var-color-2);
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
.edit-profile-form__wrapper:not(:first-of-type),
|
.edit-profile-form__wrapper:not(:first-of-type),
|
||||||
.edit-password-form__wrapper:not(:first-of-type),
|
.edit-password-form__wrapper:not(:first-of-type),
|
||||||
.edit-team-form__wrapper:not(:first-of-type) {
|
.edit-team-form__wrapper:not(:first-of-type) {
|
||||||
margin-top: 40px;
|
margin-top: var(--env-var-spacing-4);
|
||||||
}
|
}
|
||||||
.edit-team-form__wrapper.compact {
|
.edit-team-form__wrapper.compact {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
@@ -51,10 +71,8 @@
|
|||||||
.edit-password-form__wrapper input,
|
.edit-password-form__wrapper input,
|
||||||
#edit-organization-name,
|
#edit-organization-name,
|
||||||
#input-team-member {
|
#input-team-member {
|
||||||
font-size: var(--env-var-font-size-medium);
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-password-form__wrapper > .announcement-tile {
|
.edit-password-form__wrapper > .announcement-tile {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -63,6 +81,10 @@
|
|||||||
.announcement-content-subject {
|
.announcement-content-subject {
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
#edit-password + div > button > svg,
|
||||||
|
#edit-current-password + div > button > svg {
|
||||||
|
color: var(--env-var-color-29);
|
||||||
|
}
|
||||||
.edit-password-form__wrapper .announcement-tile {
|
.edit-password-form__wrapper .announcement-tile {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@@ -78,7 +100,6 @@
|
|||||||
color: var(--env-var-color-28);
|
color: var(--env-var-color-28);
|
||||||
fill: var(--env-var-color-28) !important;
|
fill: var(--env-var-color-28) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#org-name-flex-container .Mui-disabled {
|
#org-name-flex-container .Mui-disabled {
|
||||||
color: var(--env-var-color-2) !important;
|
color: var(--env-var-color-2) !important;
|
||||||
}
|
}
|
||||||
@@ -89,7 +110,7 @@
|
|||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
.edit-team-form__wrapper th {
|
.edit-team-form__wrapper th {
|
||||||
padding: 14px 0;
|
padding: var(--env-var-spacing-1) 0;
|
||||||
}
|
}
|
||||||
.edit-team-form__wrapper th:first-of-type {
|
.edit-team-form__wrapper th:first-of-type {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
@@ -117,7 +138,10 @@
|
|||||||
border-color: var(--env-var-color-2);
|
border-color: var(--env-var-color-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.members-query{
|
.MuiStack-root:has(.MuiBox-root > .members-query) .MuiBox-root {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.members-query {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import {
|
import { Box, Tab, useTheme } from "@mui/material";
|
||||||
Box,
|
|
||||||
Tab,
|
|
||||||
useTheme,
|
|
||||||
} from "@mui/material";
|
|
||||||
import TabContext from "@mui/lab/TabContext";
|
import TabContext from "@mui/lab/TabContext";
|
||||||
import TabList from "@mui/lab/TabList";
|
import TabList from "@mui/lab/TabList";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
@@ -32,18 +28,22 @@ const Settings = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
//TODO - need to figure out document sizing
|
|
||||||
//TODO - breakpoints for responsive design
|
//TODO - breakpoints for responsive design
|
||||||
height="calc(100vh - 104px)"
|
|
||||||
minWidth={theme.spacing(55)}
|
minWidth={theme.spacing(55)}
|
||||||
width="100vw"
|
width="100vw"
|
||||||
maxWidth="calc(100vw - 800px)"
|
maxWidth="calc(100vw - 800px)"
|
||||||
mt={theme.spacing(8)}
|
py={theme.spacing(5)}
|
||||||
pt={theme.spacing(5)}
|
|
||||||
px={theme.spacing(10)}
|
px={theme.spacing(10)}
|
||||||
|
className="settings"
|
||||||
>
|
>
|
||||||
<TabContext value={tab}>
|
<TabContext value={tab}>
|
||||||
<Box width="100%" sx={{ borderBottom: 1, borderColor: "divider" }}>
|
<Box
|
||||||
|
sx={{
|
||||||
|
borderBottom: 1,
|
||||||
|
borderColor: theme.palette.section.borderColor,
|
||||||
|
"& .MuiTabs-root": { height: "fit-content", minHeight: "0" },
|
||||||
|
}}
|
||||||
|
>
|
||||||
<TabList onChange={handleTabChange} aria-label="settings tabs">
|
<TabList onChange={handleTabChange} aria-label="settings tabs">
|
||||||
{tabList.map((label, index) => (
|
{tabList.map((label, index) => (
|
||||||
<Tab
|
<Tab
|
||||||
@@ -55,12 +55,17 @@ const Settings = () => {
|
|||||||
color: theme.palette.secondary.main,
|
color: theme.palette.secondary.main,
|
||||||
textTransform: "none",
|
textTransform: "none",
|
||||||
minWidth: "fit-content",
|
minWidth: "fit-content",
|
||||||
|
minHeight: 0,
|
||||||
paddingLeft: "0",
|
paddingLeft: "0",
|
||||||
paddingY: "8px",
|
paddingY: "10px",
|
||||||
marginRight: "20px",
|
marginRight: "20px",
|
||||||
"&:focus": {
|
"&:focus": {
|
||||||
outline: "none",
|
outline: "none",
|
||||||
},
|
},
|
||||||
|
"& .MuiTouchRipple-root": {
|
||||||
|
pointerEvents: "none",
|
||||||
|
display: "none",
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in new issue
Block a user