mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 03:53:34 +00:00 
			
		
		
		
	webview: Add "role" key to webview property.
This commit is contained in:
		
				
					committed by
					
						 Akash Nimare
						Akash Nimare
					
				
			
			
				
	
			
			
			
						parent
						
							d99c29301e
						
					
				
				
					commit
					43840a5245
				
			| @@ -186,6 +186,7 @@ class ServerManagerView { | ||||
| 				index, | ||||
| 				tabIndex, | ||||
| 				url: server.url, | ||||
| 				role: 'server', | ||||
| 				name: CommonUtil.decodeString(server.alias), | ||||
| 				isActive: () => { | ||||
| 					return index === this.activeTabIndex; | ||||
| @@ -337,6 +338,7 @@ class ServerManagerView { | ||||
| 				index: this.functionalTabs[tabProps.name], | ||||
| 				tabIndex, | ||||
| 				url: tabProps.url, | ||||
| 				role: 'function', | ||||
| 				name: tabProps.name, | ||||
| 				isActive: () => { | ||||
| 					return this.functionalTabs[tabProps.name] === this.activeTabIndex; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user