This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Repository navigation
Commit 8f71d44
ohotnikov.ivan
fix(ui): add client-side filtering for TenantSecrets
TenantSecrets API ignores labelSelector parameter, returning all
secrets regardless of labels. Add client-side filtering as workaround
until backend issue is resolved.
- Filter TenantSecrets by labels on client after fetch
- Keep labelSelector for regular Secrets (works correctly)
- Parse comma-separated labelSelector format
- Fallback to showing all items if no labelSelector
Related: cozystack/cozystack#2527
Signed-off-by: ohotnikov.ivan <[email protected]>1 parent dd67508 commit 8f71d44
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
204 | 206 | | |
205 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
206 | 221 | | |
207 | 222 | | |
208 | 223 | | |
| |||
0 commit comments