mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	user groups: Fix incorrect checking for open groups overlay.
Overlays.js incorrectly checked for whether `#groups` overlay was open, so it re-assigned the global `open_overlay_name` variable. As a consequence unwanted bluslip errors were thrown when closing the groups overlay after any group event was received while the `#groups` overlay was open.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							9d6cc8142b
						
					
				
				
					commit
					8f29f81539
				
			@@ -40,7 +40,7 @@ export function streams_open() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function groups_open() {
 | 
					export function groups_open() {
 | 
				
			||||||
    return (open_overlay_name = "groups");
 | 
					    return open_overlay_name === "group_subscriptions";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function lightbox_open() {
 | 
					export function lightbox_open() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user