Prevents crash when sending emails (#2264)
* Quick fixes to core libs * Prevents crash when sending emails
This commit is contained in:
		
							parent
							
								
									f7a2e1e7ac
								
							
						
					
					
						commit
						767d1fb186
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -104,7 +104,7 @@ export function getLocationTypes(): string[] { | |||
| } | ||||
| 
 | ||||
| export function getAppName(name: string) { | ||||
|   return ALL_APPS_MAP[name as keyof typeof ALL_APPS_MAP].name; | ||||
|   return ALL_APPS_MAP[name as keyof typeof ALL_APPS_MAP]?.name || "No App Name"; | ||||
| } | ||||
| 
 | ||||
| export function getAppType(name: string): string { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Omar López
						Omar López