Skip to content

Commit

Permalink
Also listen to SubsetCreateMessage here
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Oct 1, 2024
1 parent fc88465 commit 06d35be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jdaviz/core/template_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,8 @@ def __init__(self, plugin, items, selected, multiselect=None, selected_has_subre

self.hub.subscribe(self, SubsetUpdateMessage,
handler=lambda msg: self._update_subset(msg.subset, msg.attribute))
self.hub.subscribe(self, SubsetCreateMessage,
handler=lambda msg: self._update_subset(msg.subset))
self.hub.subscribe(self, SubsetDeleteMessage,
handler=lambda msg: self._delete_subset(msg.subset))

Expand Down

0 comments on commit 06d35be

Please sign in to comment.