Fixes tag loading issue, 3.0.11
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
angular.module('app')
|
||||
|
||||
.constant('appVersion', '3.0.10')
|
||||
.constant('appVersion', '3.0.11')
|
||||
|
||||
;
|
||||
@@ -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() {
|
||||
|
||||
@@ -5,8 +5,8 @@ class ComponentView {
|
||||
this.templateUrl = "directives/component-view.html";
|
||||
this.scope = {
|
||||
component: "=",
|
||||
onLoad: "=",
|
||||
manualDealloc: "="
|
||||
onLoad: "=?",
|
||||
manualDealloc: "=?"
|
||||
};
|
||||
|
||||
this.desktopManager = desktopManager;
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user