Skip to content

Commit e78f8ca

Browse files
committed
BL-10372 Show pacifier if harvester is in progress
1 parent cb0fe15 commit e78f8ca

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/components/BookDetail/HarvestProgressNotice.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export const HarvesterProgressNotice: React.FunctionComponent<{
1313
book: Book;
1414
}> = (props) => {
1515
const l10n = useIntl();
16-
if (props.book.harvestState !== "New") return null;
16+
if (
17+
props.book.harvestState !== "New" &&
18+
props.book.harvestState !== "InProgress"
19+
)
20+
return null;
1721

1822
if (!props.book.lastUploadedDate) {
1923
return (

0 commit comments

Comments
 (0)