Compare commits

..

No commits in common. "main" and "0.11.0" have entirely different histories.
main ... 0.11.0

2 changed files with 7 additions and 14 deletions

View File

@ -61,6 +61,7 @@ const VerticalNavHeader = (props: Props) => {
) : (
<Link href='/' passHref>
<StyledLink>
<img width={30} height={25} src= "https://s6.imgcdn.dev/ttLwl.png"/>
<HeaderTitle variant='h6' sx={{ ml: 3 }}>
{themeConfig.templateName}
</HeaderTitle>

View File

@ -92,20 +92,12 @@ const AdminRequest = () => {
{request?.message}
</TextField>
</Grid>
{request?.accepted ? (
<Grid item xs={12} md={12}>
<Button fullWidth variant="contained" onClick={handleAccept} color="error">Revoke Artist Access</Button>
</Grid>
):(
<>
<Grid item xs={12} md={6}>
<Button fullWidth variant="contained" onClick={handleAccept} color="primary">Accept</Button>
<Button fullWidth disabled={request?.accepted} variant="contained" onClick={handleAccept} color="primary">Accept</Button>
</Grid>
<Grid item xs={12} md={6}>
<Button fullWidth variant="contained" onClick={handleDeny} color="secondary">Reject</Button>
<Button fullWidth disabled={request?.accepted} variant="contained" onClick={handleDeny} color="secondary">Reject</Button>
</Grid>
</>
)}
</Grid>
</Grid>
<Grid item xs={6}>