mirror of https://github.com/coder/code-server.git
parent
ec70ea6994
commit
362715bbeb
|
@ -315,7 +315,6 @@ class Dialog {
|
||||||
}
|
}
|
||||||
buttonsNode.appendChild(confirmBtn);
|
buttonsNode.appendChild(confirmBtn);
|
||||||
this.root.appendChild(buttonsNode);
|
this.root.appendChild(buttonsNode);
|
||||||
this.entryList.layout();
|
|
||||||
|
|
||||||
this.path = options.defaultPath || "/";
|
this.path = options.defaultPath || "/";
|
||||||
}
|
}
|
||||||
|
@ -391,6 +390,8 @@ class Dialog {
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.entryList.layout();
|
||||||
|
|
||||||
this.entryList.setChildren(null, items.map((i: DialogEntry): ITreeElement<DialogEntry> => ({ element: i })));
|
this.entryList.setChildren(null, items.map((i: DialogEntry): ITreeElement<DialogEntry> => ({ element: i })));
|
||||||
this.entryList.domFocus();
|
this.entryList.domFocus();
|
||||||
this.entryList.setFocus([null]);
|
this.entryList.setFocus([null]);
|
||||||
|
|
Loading…
Reference in New Issue