mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont display progress if we dont have total items
This commit is contained in:
parent
c10bd80149
commit
7348c66e43
1 changed files with 3 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ const ExportSection = (): JSX.Element => {
|
|||
{timeAgo(item.createdAt)}
|
||||
</SpanBox>
|
||||
<SpanBox css={{ width: '180px' }}>{item.state}</SpanBox>
|
||||
{item.totalItems && (
|
||||
{item.totalItems && item.totalItems > 0 ? (
|
||||
<VStack css={{ width: '180px', height: '50px', pt: '12px' }}>
|
||||
<ProgressBar
|
||||
fillPercentage={
|
||||
|
|
@ -559,6 +559,8 @@ const ExportSection = (): JSX.Element => {
|
|||
} items.`}
|
||||
</StyledText>
|
||||
</VStack>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
{item.signedUrl && (
|
||||
<SpanBox css={{ marginLeft: 'auto' }}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue