mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
fix: add patch for sync upstream
This commit is contained in:
parent
c546d86d44
commit
1e2bbd1be3
23 changed files with 508 additions and 303 deletions
|
|
@ -53,8 +53,8 @@ export function EditorSettingsDialog({
|
|||
settings.forScope(selectedScope).settings.preferredEditor;
|
||||
let editorIndex = currentPreference
|
||||
? editorItems.findIndex(
|
||||
(item: EditorDisplay) => item.type === currentPreference,
|
||||
)
|
||||
(item: EditorDisplay) => item.type === currentPreference,
|
||||
)
|
||||
: 0;
|
||||
if (editorIndex === -1) {
|
||||
console.error(`Editor is not supported: ${currentPreference}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue