Use SNJS's built-in display sorting and filtering

This commit is contained in:
Mo Bitar
2020-04-18 21:54:07 -05:00
parent 851269200b
commit 84de39375c
7 changed files with 381 additions and 398 deletions

View File

@@ -38,7 +38,10 @@ export class EditorGroup {
}
closeActiveEditor() {
this.deleteEditor(this.editors[0]);
const activeEditor = this.activeEditor;
if(activeEditor) {
this.deleteEditor(activeEditor);
}
}
closeAllEditors() {