mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	client: Fix duplicate items in language selection
This commit is contained in:
		| @@ -29,6 +29,8 @@ export default class LocalizationOptions extends OptionsWidget { | ||||
|  | ||||
|     async optionsLoaded(options) { | ||||
|         const availableLocales = await server.get("options/locales"); | ||||
|         this.$localeSelect.empty(); | ||||
|  | ||||
|         for (const locale of availableLocales) { | ||||
|             this.$localeSelect.append($("<option>") | ||||
|                 .attr("value", locale.id) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user