mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Revert "fix: avoid deleting configs if the currentApiConfigName hasn't been changed"
This reverts commit 8ad904a13c.
This commit is contained in:
@@ -58,10 +58,8 @@ const ApiConfigManager = ({
|
|||||||
if (editState === "new") {
|
if (editState === "new") {
|
||||||
onUpsertConfig(trimmedValue)
|
onUpsertConfig(trimmedValue)
|
||||||
} else if (editState === "rename" && currentApiConfigName) {
|
} else if (editState === "rename" && currentApiConfigName) {
|
||||||
if (currentApiConfigName !== trimmedValue) {
|
|
||||||
onRenameConfig(currentApiConfigName, trimmedValue)
|
onRenameConfig(currentApiConfigName, trimmedValue)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
setEditState(null)
|
setEditState(null)
|
||||||
setInputValue("")
|
setInputValue("")
|
||||||
|
|||||||
Reference in New Issue
Block a user