Repository navigation
Commit 83a8479
fix(dashboard): coerce numeric quota values in parseSize
Address review feedback from gemini-code-assist on ResourceQuotasField.tsx:
parseSize coerces val to a string first so a numeric quota from user-authored
YAML (e.g. cpu: 10) no longer crashes the edit form with "val.endsWith is not
a function".
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent fbbcc2e commit 83a8479
1 file changed
Lines changed: 6 additions & 4 deletions
File tree
- packages/system/dashboard/images/console/apps/console/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
36 | | - | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments