We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63350e5 commit efa614cCopy full SHA for efa614c
portal-ui/src/screens/Console/ObjectBrowser/BrowseBuckets.tsx
@@ -131,10 +131,8 @@ const BrowseBuckets = ({
131
api
132
.invoke("GET", `/api/v1/buckets?offset=${offset}&limit=${rowsPerPage}`)
133
.then((res: BucketList) => {
134
- const buckets = get(res, "buckets", []);
135
-
136
setLoading(false);
137
- setRecords(buckets);
+ setRecords(res.buckets || []);
138
setError("");
139
// if we get 0 results, and page > 0 , go down 1 page
140
if (
0 commit comments