Skip to content

Commit

Permalink
Merge pull request #990 from ynput/bugfix/publisher-refresh-of-values…
Browse files Browse the repository at this point in the history
…-fix

Publisher: Refresh of create/publish values under correct conditions
  • Loading branch information
iLLiCiTiT authored Nov 6, 2024
2 parents 4b5573d + 53a839b commit a1f5270
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _on_instance_value_change(self, event):
for instance_id, changes in event["instance_changes"].items():
if (
instance_id in self._current_instance_ids
and "creator_attributes" not in changes
and "creator_attributes" in changes
):
self._refresh_content()
break
Expand Down Expand Up @@ -498,7 +498,7 @@ def _on_instance_value_change(self, event):
for instance_id, changes in event["instance_changes"].items():
if (
instance_id in self._current_instance_ids
and "publish_attributes" not in changes
and "publish_attributes" in changes
):
self._refresh_content()
break

0 comments on commit a1f5270

Please sign in to comment.