Skip to content

Commit

Permalink
Minor bugfix to prevent duplicate tags (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
skiptomyliu authored Apr 3, 2020
1 parent 9ebfbbd commit 385fb2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
continue;
}
// strip duplicates
if (tagItem.id in _credential.tags) {
if (_credential.tags.includes(tagItem.id)) {
continue;
}
// strip empty tag selection
Expand Down

0 comments on commit 385fb2a

Please sign in to comment.