Use SNJS's built-in display sorting and filtering
This commit is contained in:
@@ -38,7 +38,10 @@ export class EditorGroup {
|
||||
}
|
||||
|
||||
closeActiveEditor() {
|
||||
this.deleteEditor(this.editors[0]);
|
||||
const activeEditor = this.activeEditor;
|
||||
if(activeEditor) {
|
||||
this.deleteEditor(activeEditor);
|
||||
}
|
||||
}
|
||||
|
||||
closeAllEditors() {
|
||||
|
||||
Reference in New Issue
Block a user