mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
fixed tag update not affecting local data
This commit is contained in:
parent
ee143b4f12
commit
458f8f6981
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue