We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e333bfa commit 8ad904aCopy full SHA for 8ad904a
webview-ui/src/components/settings/ApiConfigManager.tsx
@@ -58,7 +58,9 @@ const ApiConfigManager = ({
58
if (editState === "new") {
59
onUpsertConfig(trimmedValue)
60
} else if (editState === "rename" && currentApiConfigName) {
61
- onRenameConfig(currentApiConfigName, trimmedValue)
+ if (currentApiConfigName !== trimmedValue) {
62
+ onRenameConfig(currentApiConfigName, trimmedValue)
63
+ }
64
}
65
66
setEditState(null)
0 commit comments