mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +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; |                 return true; | ||||||
|             }), |             }), | ||||||
|             formattingLocales: [ |             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