mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-30 19:43:39 +00:00 
			
		
		
		
	dependencies: Update typescript and typescript-eslint.
The changes are mostly done via `xo --fix`; the other changes are either trivial or disabling new linter rules that we plan to address in future commits.
This commit is contained in:
		| @@ -922,7 +922,7 @@ class ServerManagerView { | ||||
| 			// TODO: TypeScript - Type annotate getDomains() or this domain paramter. | ||||
| 			DomainUtil.getDomains().forEach((domain: any, index: number) => { | ||||
| 				if (domain.url.includes(serverURL)) { | ||||
| 					const serverTooltipSelector = `.tab .server-tooltip`; | ||||
| 					const serverTooltipSelector = '.tab .server-tooltip'; | ||||
| 					const serverTooltips = document.querySelectorAll(serverTooltipSelector); | ||||
| 					serverTooltips[index].innerHTML = escape(realmName); | ||||
| 					this.tabs[index].props.name = escape(realmName); | ||||
| @@ -945,7 +945,7 @@ class ServerManagerView { | ||||
| 			DomainUtil.getDomains().forEach((domain: any, index: number) => { | ||||
| 				if (domain.url.includes(serverURL)) { | ||||
| 					DomainUtil.saveServerIcon(iconURL).then((localIconUrl: string) => { | ||||
| 						const serverImgsSelector = `.tab .server-icons`; | ||||
| 						const serverImgsSelector = '.tab .server-icons'; | ||||
| 						const serverImgs: NodeListOf<HTMLImageElement> = document.querySelectorAll(serverImgsSelector); | ||||
| 						serverImgs[index].src = localIconUrl; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user