Only show error status if note is dirty
This commit is contained in:
@@ -56,7 +56,11 @@ angular.module('app')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if(eventName == "sync:error") {
|
} else if(eventName == "sync:error") {
|
||||||
this.showErrorStatus();
|
// only show error status in editor if the note is dirty. Otherwise, it means the originating sync
|
||||||
|
// came from somewhere else and we don't want to display an error here.
|
||||||
|
if(this.note.dirty){
|
||||||
|
this.showErrorStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user