fix(teams): disable submit button for single-member teams
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
a1e89b882a
commit
7e5e4cc29b
@@ -429,7 +429,7 @@ const TeamDashboardPage: FC = (): ReactElement => {
|
|||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
<Link to={`/teams/${teamId}/submit`}>
|
<Link to={`/teams/${teamId}/submit`}>
|
||||||
<Button className="w-full">
|
<Button className="w-full" disabled={members.length < 2}>
|
||||||
<Icon icon="mdi:rocket" className="inline-block mr-2" />
|
<Icon icon="mdi:rocket" className="inline-block mr-2" />
|
||||||
Submit Project
|
Submit Project
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user