feat: snjs upgrade and fixes

This commit is contained in:
Mo Bitar
2021-12-05 11:04:46 -06:00
parent ac9c19d681
commit 82ee0974c1
6 changed files with 47 additions and 36 deletions

View File

@@ -35,8 +35,8 @@ class EditorMenuCtrl extends PureViewCtrl implements EditorMenuScope {
$onInit() {
super.$onInit();
const editors = this.application
.componentManager!.componentsForArea(ComponentArea.Editor)
const editors = this.application.componentManager
.componentsForArea(ComponentArea.Editor)
.sort((a, b) => {
return a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1;
});