Fix "0" displaying in "Review Dashboard" button on user dashboard #298
@@ -379,7 +379,7 @@ export default function UserDashboardPage() {
|
||||
</Link>
|
||||
<Typography color="text.secondary">Dashboard</Typography>
|
||||
</Breadcrumbs>
|
||||
{userRoles && hasAnyReviewerRole(userRoles) && (
|
||||
{userRoles !== null && hasAnyReviewerRole(userRoles) && (
|
||||
<Button
|
||||
component={Link}
|
||||
to="/review"
|
||||
|
||||
Reference in New Issue
Block a user