Fix inital emty tags of new notes

This commit is contained in:
Matias De lellis
2019-11-12 10:26:24 -03:00
parent c69f21f524
commit 56a91ef706

View File

@@ -85,6 +85,7 @@ Notes.prototype = {
contentType: 'application/json',
data: JSON.stringify(note)
}).done(function (note) {
note.tags = [];
self._notes.unshift(note);
self._activeNote = note;
self.load(note.id);