FIX: ie11 exception on new category popup (#7585)
This commit is contained in:
parent
4fce79d4d5
commit
40c903ec23
|
@ -67,12 +67,14 @@ export default buildCategoryPanel("settings", {
|
||||||
searchPrioritiesOptions() {
|
searchPrioritiesOptions() {
|
||||||
const options = [];
|
const options = [];
|
||||||
|
|
||||||
for (const [name, value] of Object.entries(searchPriorities)) {
|
Object.entries(searchPriorities).forEach(entry => {
|
||||||
|
const [name, value] = entry;
|
||||||
|
|
||||||
options.push({
|
options.push({
|
||||||
name: I18n.t(`category.search_priority.options.${name}`),
|
name: I18n.t(`category.search_priority.options.${name}`),
|
||||||
value: value
|
value
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue