Skip to content

Commit

Permalink
Fix for message filtering bug introduced in 2a17a66
Browse files Browse the repository at this point in the history
  • Loading branch information
malloch committed Sep 17, 2024
1 parent 42d7ac7 commit 3b9efce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/ViewManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,18 @@ class ViewManager
switch (type) {
case 'device':
// only graph view might use device properties
if (event != 'modified' || this.currentView == 'graph')
if (event != 'modified' || self.currentView == 'graph')
self._update_devices(obj, event, repaint);
break;
case 'link':
if (event != 'modified' && this.currentView == 'chord')
if (event != 'modified' && self.currentView == 'chord')
self._update_links(obj, event, repaint);
break;
case 'signal':
// only graph view might use signal properties
if (this.currentView == 'chord' || this.currentView == 'console')
if (self.currentView == 'chord' || self.currentView == 'console')
break;
if (event != 'modified' || this.currentView == 'graph')
if (event != 'modified' || self.currentView == 'graph')
self._update_signals(obj, event, repaint);
break;
case 'map':
Expand Down

0 comments on commit 3b9efce

Please sign in to comment.