mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Show widget with no count
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user