@lvce-editor/explorer-view 6.4.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4204,8 +4204,12 @@ const handleIconThemeChange = state => {
|
|
|
4204
4204
|
const handleInputBlur = async state => {
|
|
4205
4205
|
const {
|
|
4206
4206
|
editingErrorMessage,
|
|
4207
|
+
editingIndex,
|
|
4207
4208
|
editingValue
|
|
4208
4209
|
} = state;
|
|
4210
|
+
if (editingIndex === -1) {
|
|
4211
|
+
return state;
|
|
4212
|
+
}
|
|
4209
4213
|
if (editingErrorMessage || !editingValue) {
|
|
4210
4214
|
return cancelEditInternal(state, false);
|
|
4211
4215
|
}
|