Skip to content

Commit

Permalink
fix a bug that causes incorrect group label to display when zones are…
Browse files Browse the repository at this point in the history
… running
  • Loading branch information
rayshobby committed Jul 6, 2023
1 parent 79ab3be commit 17e0824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6091,7 +6091,7 @@ var showHome = ( function() {
divider = Card.getDivider( thisCard );
divider.hide(); // Remove all dividers when switching from group view

Card.setGroupLabel( thisCard, mapGIDValueToName( Station.getGIDValue( idx ) ) );
Card.setGroupLabel( thisCard, mapGIDValueToName( Station.getGIDValue( Card.getSID( thisCard ) ) ) );
label = Card.getGroupLabel( thisCard );
if ( typeof label !== "undefined" && Card.isMasterStation( thisCard ) ) {
label.addClass( "hidden" );
Expand Down

0 comments on commit 17e0824

Please sign in to comment.