Skip to content

Commit 76c83d8

Browse files
feat(bucket-list): allow filtering by bucket id (#4096)
1 parent 6542929 commit 76c83d8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/buckets/components/BucketsTab.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,12 @@ class BucketsTab extends PureComponent<Props, State> {
115115
>
116116
<FilterBuckets
117117
searchTerm={searchTerm}
118-
searchKeys={['name', 'readableRetention', 'labels[].name']}
118+
searchKeys={[
119+
'id',
120+
'labels[].name',
121+
'name',
122+
'readableRetention',
123+
]}
119124
list={buckets}
120125
>
121126
{bs => (

src/buckets/pagination/BucketsTab.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,10 @@ class BucketsTab extends PureComponent<Props, State> {
158158
<FilterBuckets
159159
searchTerm={searchTerm}
160160
searchKeys={[
161+
'id',
162+
'labels[].name',
161163
'name',
162164
'readableRetention',
163-
'labels[].name',
164165
]}
165166
list={buckets}
166167
>

0 commit comments

Comments
 (0)