Fixes angular digest loop when note has more than 10 tags

This commit is contained in:
Mo Bitar
2018-02-18 14:15:03 -06:00
parent f260476269
commit 4289d4806d
3 changed files with 13 additions and 4 deletions

View File

@@ -83,8 +83,8 @@ angular.module('app')
this.setTags = function(tags) {
if(initialLoad) {
initialLoad = false;
this.selectTag(this.allTag);
initialLoad = false;
this.selectTag(this.allTag);
} else {
if(tags && tags.length > 0) {
this.selectTag(tags[0]);