mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
fixes an issue with the default language list
This commit is contained in:
parent
2d25e87249
commit
a8af3d8603
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module.exports = async (context)=>{
|
|||
choices = getLanguagesFromAny(context.value)
|
||||
} else {
|
||||
// Default language suggestions
|
||||
choices = TRANSLATE_DEFAULT_LANGUAGE_LIST
|
||||
choices = Object.assign([], TRANSLATE_DEFAULT_LANGUAGE_LIST)
|
||||
}
|
||||
|
||||
return context.respond({ choices: choices.splice(0, 20).map((l)=>({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue