Skip to content

Commit

Permalink
fix(admin): compare lists always visible (#16528)
Browse files Browse the repository at this point in the history
  • Loading branch information
albinagu authored and svanaeinars committed Oct 23, 2024
1 parent 90f086b commit d7cf686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const Constituency = ({
constituencyLists.length}
</Text>
{allowedToProcess &&
collectionStatus === CollectionStatus.Processed && (
collectionStatus === CollectionStatus.InInitialReview && (
<CreateCollection
collectionId={collection?.id}
areaId={areaId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,7 @@ const ParliamentaryRoot = ({
</Stack>
{allowedToProcess && (
<Box>
{(collectionStatus === CollectionStatus.InInitialReview ||
collectionStatus === CollectionStatus.InReview) && (
<CompareLists collectionId={collection?.id} />
)}
<CompareLists collectionId={collection?.id} />
{(collectionStatus === CollectionStatus.InitialActive ||
collectionStatus === CollectionStatus.InInitialReview) && (
<ActionCompleteCollectionProcessing
Expand Down

0 comments on commit d7cf686

Please sign in to comment.