fixed tag update not affecting local data

This commit is contained in:
Jack 2021-12-13 17:52:19 +00:00
parent ee143b4f12
commit 458f8f6981

View file

@ -98,7 +98,7 @@ $("#resultEditTagsPanel .confirmButton").click((e) => {
} else {
Notifications.add("Tags updated.", 1, 2);
DB.getSnapshot().results.forEach((result) => {
if (result.id === resultid) {
if (result._id === resultid) {
result.tags = newtags;
}
});