Commit 01b6630
committed
fix: prevent unnecessary change detection in OpenAI Compatible settings
- Added comparison check before updating openAiHeaders to prevent triggering
change detection when headers haven't actually changed
- This fixes the issue where the Save button was always highlighted when
using OpenAI Compatible provider with a base URL
Fixes #61511 parent 1e17b3b commit 01b6630
File tree
1 file changed
+8
-3
lines changed- webview-ui/src/components/settings/providers
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
95 | | - | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
0 commit comments