mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	fix(client/options): dev locale showing in prod
This commit is contained in:
		
							parent
							
								
									cdde69cc7c
								
							
						
					
					
						commit
						1d583a2d1f
					
				| @ -33,7 +33,11 @@ function LocalizationOptions() { | ||||
|                 return true; | ||||
|             }), | ||||
|             formattingLocales: [ | ||||
|                 ...allLocales.filter(locale => locale.electronLocale) | ||||
|                 ...allLocales.filter(locale => { | ||||
|                     if (!locale.electronLocale) return false; | ||||
|                     if (locale.devOnly && !glob.isDev) return false; | ||||
|                     return true; | ||||
|                 }) | ||||
|             ] | ||||
|         } | ||||
|     }, []); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran