Hide page count if no notifications

This commit is contained in:
Nicholas Zuber 2018-11-27 15:22:30 -05:00
parent 1592eaa9d8
commit 2212f43b5c

View File

@ -1119,6 +1119,7 @@ export default function Scene ({
<span role="img" aria-label="hooray">🎉</span> You're all set here for the moment</p>
</Message>
) : (
<React.Fragment>
<Table>
<tbody style={{
display: 'flex',
@ -1264,10 +1265,11 @@ export default function Scene ({
))}
</tbody>
</Table>
{!loading && <PageCount>Page {page} out of {lastPage}</PageCount>}
</React.Fragment>
)}
</Notifications>
</NotificationsContainer>
{!loading && <PageCount>Page {page} out of {lastPage}</PageCount>}
</div>
</div>
</div>