mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Phrasen Plugin: Bugfix this
This commit is contained in:
@@ -23,7 +23,8 @@ function getValueForLoadedPhrase(category, phrase, params) {
|
||||
const phrasen = {
|
||||
loadCategory(category) {
|
||||
if (Array.isArray(category))
|
||||
return Promise.all(category.map(cat => this.loadCategory(cat)));
|
||||
return Promise.all(category.map(cat => this.config.globalProperties
|
||||
.$fhcApi.factory.phrasen.loadCategory(cat)));
|
||||
if (!loadingModules[category])
|
||||
loadingModules[category] = this.config.globalProperties
|
||||
.$fhcApi.factory.phrasen.loadCategory(category)
|
||||
|
||||
Reference in New Issue
Block a user