Fixes tag loading issue, 3.0.11

This commit is contained in:
Mo Bitar
2019-06-05 15:04:04 -05:00
parent c0ce486ee3
commit 4ec16b15e7
4 changed files with 5 additions and 11 deletions

View File

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

View File

@@ -6,8 +6,6 @@ angular.module('app')
addNew: "&",
selectionMade: "&",
save: "&",
tags: "=",
updateNoteTag: "&",
removeTag: "&"
},
templateUrl: 'tags.html',
@@ -30,15 +28,11 @@ angular.module('app')
|| syncEvent == "local-data-incremental-load") {
this.tags = modelManager.tags;
this.smartTags = modelManager.getSmartTags();
if(this.noteCountsNeedReload) {
this.noteCountsNeedReload = false;
this.reloadNoteCounts();
}
}
});
modelManager.addItemSyncObserver("tags-list", "*", (allItems, validItems, deletedItems, source, sourceKey) => {
this.noteCountsNeedReload = true;
this.reloadNoteCounts();
});
this.reloadNoteCounts = function() {

View File

@@ -5,8 +5,8 @@ class ComponentView {
this.templateUrl = "directives/component-view.html";
this.scope = {
component: "=",
onLoad: "=",
manualDealloc: "="
onLoad: "=?",
manualDealloc: "=?"
};
this.desktopManager = desktopManager;

View File

@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.0.10",
"version": "3.0.11",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",