File tree 1 file changed +24
-0
lines changed
site/src/pages/WorkspacesPage
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ import { Filter } from "./filter/filter"
21
21
import { hasError , isApiValidationError } from "api/errors"
22
22
import { workspaceFilterQuery } from "utils/filters"
23
23
import { SearchBarWithFilter } from "components/SearchBarWithFilter/SearchBarWithFilter"
24
+ import Box from "@mui/material/Box"
25
+ import Skeleton from "@mui/material/Skeleton"
24
26
25
27
export const Language = {
26
28
pageTitle : "Workspaces" ,
@@ -143,6 +145,28 @@ export const WorkspacesPageView: FC<
143
145
/>
144
146
) }
145
147
</ Stack >
148
+
149
+ < Box
150
+ sx = { {
151
+ fontSize : 13 ,
152
+ mb : 2 ,
153
+ mt : 1 ,
154
+ color : ( theme ) => theme . palette . text . secondary ,
155
+ "& strong" : { color : ( theme ) => theme . palette . text . primary } ,
156
+ } }
157
+ >
158
+ { workspaces ? (
159
+ < >
160
+ Showing < strong > { workspaces ?. length } </ strong > of{ " " }
161
+ < strong > { count } </ strong > workspaces
162
+ </ >
163
+ ) : (
164
+ < Box sx = { { height : 24 , display : "flex" , alignItems : "center" } } >
165
+ < Skeleton variant = "text" width = { 160 } height = { 16 } />
166
+ </ Box >
167
+ ) }
168
+ </ Box >
169
+
146
170
< WorkspacesTable
147
171
workspaces = { workspaces }
148
172
isUsingFilter = {
You can’t perform that action at this time.
0 commit comments