Repository navigation
Commit d4b0b52
fix(dashboard): gate options query on tenant namespace
Address review feedback from gemini-code-assist on DynamicOptionsWidget.tsx:
gate the useK8sList options query with enabled: !!tenantNamespace so it does
not fire a cluster-wide request to core.cozystack.io options (403 for
non-admin tenants) while the tenant namespace is still resolving.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent 2c4b936 commit d4b0b52
1 file changed
Lines changed: 9 additions & 6 deletions
File tree
- packages/system/dashboard/images/console/apps/console/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments