Skip to content

Commit

Permalink
Continued fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Aug 30, 2021
1 parent a5fb99f commit dc55acd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ class GlobalTagsManager{
}else{
inTags.forEach(t => tags.delete(t));
}
if(tags.size === 0){
await obj.unsetFlag("global-tags", "tags");
continue;
}
await obj.setFlag("global-tags", "tags", Array.from(tags));
}else{
await obj.unsetFlag("global-tags", "tags");
Expand Down

0 comments on commit dc55acd

Please sign in to comment.