Skip to content

Commit

Permalink
Merge branch 'GEOLYTIX:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cityremade authored May 21, 2024
2 parents 970aef4 + 71c3db5 commit 9c22c21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ui/elements/pills.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export default (component = {}) => {
if (typeof component.removeCallback === 'function') component.removeCallback(val, component.pills);
}}>✕`)

if(!component.pills.has(val)) component.pills.add(val); // add to selection

// add pill
component.container.append(pill);

Expand Down

0 comments on commit 9c22c21

Please sign in to comment.