Observer exception handling with SFJS 0.3.64

This commit is contained in:
Mo Bitar
2019-06-06 17:57:04 -05:00
parent 4ec16b15e7
commit a944a2032f
4 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
angular.module('app')
.constant('appVersion', '3.0.11')
.constant('appVersion', '3.0.12')
;

View File

@@ -196,7 +196,7 @@ angular.module('app')
modelManager.addItemSyncObserver("footer-bar-themes", "SN|Theme", (allItems, validItems, deletedItems, source) => {
let themes = modelManager.validItemsForContentType("SN|Theme").filter((candidate) => {
return !candidate.deleted && candidate.content.package_info.dock_icon;
return !candidate.deleted && candidate.content.package_info && candidate.content.package_info.dock_icon;
}).sort((a, b) => {
return a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1;
});

8
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.0.10",
"version": "3.0.11",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -5817,9 +5817,9 @@
"dev": true
},
"standard-file-js": {
"version": "0.3.63",
"resolved": "https://registry.npmjs.org/standard-file-js/-/standard-file-js-0.3.63.tgz",
"integrity": "sha512-E/+hzccZui5JB6vX4Lk1TAdr73H9Ct39pqeS+cQHlKEoybQ5PBK6j503JuxubNrb968NeW2sbsywh4g3syARHg==",
"version": "0.3.64",
"resolved": "https://registry.npmjs.org/standard-file-js/-/standard-file-js-0.3.64.tgz",
"integrity": "sha512-Xocw/1Rs4nc31Uy6TaIK7TYjFslmaLOPJND2lM5r1nMh0DcKdbs1IrU3Ny6CLmO609RFSNIG97lSgOXi9Bqn8g==",
"dev": true
},
"static-extend": {

View File

@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.0.11",
"version": "3.0.12",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
@@ -40,6 +40,6 @@
"serve-static": "^1.13.2",
"sn-stylekit": "2.0.15",
"snjs": "0.2.8",
"standard-file-js": "0.3.63"
"standard-file-js": "0.3.64"
}
}