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

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

diff --git a/app/assets/javascripts/discourse/components/edit-category-settings.js.es6 b/app/assets/javascripts/discourse/components/edit-category-settings.js.es6
index f24095d..c32f8b0 100644
--- a/app/assets/javascripts/discourse/components/edit-category-settings.js.es6
+++ b/app/assets/javascripts/discourse/components/edit-category-settings.js.es6
@@ -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;
   },

GitHub sha: 40c903ec