Observer exception handling with SFJS 0.3.64
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
angular.module('app')
|
||||
|
||||
.constant('appVersion', '3.0.11')
|
||||
.constant('appVersion', '3.0.12')
|
||||
|
||||
;
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user