mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Revert "fix: avoid deleting configs if the currentApiConfigName hasn't been changed"
This reverts commit 8ad904a13c.
This commit is contained in:
parent
d6ebfb981a
commit
fc03237a4f
1 changed files with 1 additions and 3 deletions
|
|
@ -58,9 +58,7 @@ const ApiConfigManager = ({
|
|||
if (editState === "new") {
|
||||
onUpsertConfig(trimmedValue)
|
||||
} else if (editState === "rename" && currentApiConfigName) {
|
||||
if (currentApiConfigName !== trimmedValue) {
|
||||
onRenameConfig(currentApiConfigName, trimmedValue)
|
||||
}
|
||||
onRenameConfig(currentApiConfigName, trimmedValue)
|
||||
}
|
||||
|
||||
setEditState(null)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue