Skip to content

Commit 2efe49b

Browse files
committed
Show widget with no count
1 parent d838789 commit 2efe49b

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

site/src/pages/WorkspacesPage/WorkspacesPageView.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,16 @@ export const WorkspacesPageView: FC<
114114
filter={filter}
115115
/>
116116

117-
<Maybe condition={count !== undefined}>
118-
<PaginationWidget
119-
prevLabel=""
120-
nextLabel=""
121-
onPrevClick={onPrevious}
122-
onNextClick={onNext}
123-
onPageClick={onGoToPage}
124-
numRecords={count}
125-
activePage={page}
126-
numRecordsPerPage={limit}
127-
/>
128-
</Maybe>
117+
<PaginationWidget
118+
prevLabel=""
119+
nextLabel=""
120+
onPrevClick={onPrevious}
121+
onNextClick={onNext}
122+
onPageClick={onGoToPage}
123+
numRecords={count}
124+
activePage={page}
125+
numRecordsPerPage={limit}
126+
/>
129127
</Margins>
130128
)
131129
}

0 commit comments

Comments
 (0)