Show widget with no count

This commit is contained in:
Presley Pizzo
2022-10-19 03:37:40 +00:00
parent d8387897d0
commit 2efe49b4ca
@@ -114,18 +114,16 @@ export const WorkspacesPageView: FC<
filter={filter}
/>
<Maybe condition={count !== undefined}>
<PaginationWidget
prevLabel=""
nextLabel=""
onPrevClick={onPrevious}
onNextClick={onNext}
onPageClick={onGoToPage}
numRecords={count}
activePage={page}
numRecordsPerPage={limit}
/>
</Maybe>
<PaginationWidget
prevLabel=""
nextLabel=""
onPrevClick={onPrevious}
onNextClick={onNext}
onPageClick={onGoToPage}
numRecords={count}
activePage={page}
numRecordsPerPage={limit}
/>
</Margins>
)
}