FIX: ie11 exception on new category popup (#7585)

This commit is contained in:
Joffrey JAFFEUX 2019-05-22 15:17:28 +02:00 committed by GitHub
parent 4fce79d4d5
commit 40c903ec23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -67,12 +67,14 @@ export default buildCategoryPanel("settings", {
searchPrioritiesOptions() {
const options = [];
for (const [name, value] of Object.entries(searchPriorities)) {
Object.entries(searchPriorities).forEach(entry => {
const [name, value] = entry;
options.push({
name: I18n.t(`category.search_priority.options.${name}`),
value: value
value
});
}
});
return options;
},