Fixes tag loading issue, 3.0.11
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
angular.module('app')
|
angular.module('app')
|
||||||
|
|
||||||
.constant('appVersion', '3.0.10')
|
.constant('appVersion', '3.0.11')
|
||||||
|
|
||||||
;
|
;
|
||||||
@@ -6,8 +6,6 @@ angular.module('app')
|
|||||||
addNew: "&",
|
addNew: "&",
|
||||||
selectionMade: "&",
|
selectionMade: "&",
|
||||||
save: "&",
|
save: "&",
|
||||||
tags: "=",
|
|
||||||
updateNoteTag: "&",
|
|
||||||
removeTag: "&"
|
removeTag: "&"
|
||||||
},
|
},
|
||||||
templateUrl: 'tags.html',
|
templateUrl: 'tags.html',
|
||||||
@@ -30,15 +28,11 @@ angular.module('app')
|
|||||||
|| syncEvent == "local-data-incremental-load") {
|
|| syncEvent == "local-data-incremental-load") {
|
||||||
this.tags = modelManager.tags;
|
this.tags = modelManager.tags;
|
||||||
this.smartTags = modelManager.getSmartTags();
|
this.smartTags = modelManager.getSmartTags();
|
||||||
if(this.noteCountsNeedReload) {
|
|
||||||
this.noteCountsNeedReload = false;
|
|
||||||
this.reloadNoteCounts();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
modelManager.addItemSyncObserver("tags-list", "*", (allItems, validItems, deletedItems, source, sourceKey) => {
|
modelManager.addItemSyncObserver("tags-list", "*", (allItems, validItems, deletedItems, source, sourceKey) => {
|
||||||
this.noteCountsNeedReload = true;
|
this.reloadNoteCounts();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.reloadNoteCounts = function() {
|
this.reloadNoteCounts = function() {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ class ComponentView {
|
|||||||
this.templateUrl = "directives/component-view.html";
|
this.templateUrl = "directives/component-view.html";
|
||||||
this.scope = {
|
this.scope = {
|
||||||
component: "=",
|
component: "=",
|
||||||
onLoad: "=",
|
onLoad: "=?",
|
||||||
manualDealloc: "="
|
manualDealloc: "=?"
|
||||||
};
|
};
|
||||||
|
|
||||||
this.desktopManager = desktopManager;
|
this.desktopManager = desktopManager;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "standard-notes-web",
|
"name": "standard-notes-web",
|
||||||
"version": "3.0.10",
|
"version": "3.0.11",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user