Skip to content

Commit

Permalink
Fix bug on election form when committee don't have election (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziearts committed Jun 23, 2023
1 parent a95dd4f commit 45ddd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Committees/Tabs/ElectionsTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const ElectionsTab = ({ committee, committeeElectionId }) => {
<Container maxWidth={false} data-cy="committee-detail-elections">
{committeeElectionId && isLoading && <Loader isCenter />}

{!committeeElectionId && !isLoading && (
{!committeeElectionId && (
<EmptyContent
title={messages.noElection}
description={messages.noElectionDescription}
Expand Down

0 comments on commit 45ddd8b

Please sign in to comment.