adjusted events view to only show the availability selector, when a user can do at least one task of the event
This commit is contained in:
@@ -43,7 +43,7 @@ export default function Event({
|
||||
|
||||
{Array.isArray(children) ? children[0] : children}
|
||||
</CardBody>
|
||||
{Array.isArray(children) ? (
|
||||
{Array.isArray(children) && !!children[1] ? (
|
||||
<>
|
||||
<Divider />
|
||||
<CardFooter>{children[1]}</CardFooter>
|
||||
|
||||
Reference in New Issue
Block a user