Skip to content

Commit

Permalink
fix clientlib warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Nov 20, 2023
1 parent 32f3fc5 commit fa94662
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"granite.ui.coral.foundation",
"io.wcm.caconfig.editor.angularjs",
"io.wcm.caconfig.editor.validation"
]
],
"jsProcessor": ["min:gcc;languageIn=ECMASCRIPT_2015"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
state.configCategories.unshift({category:'',label:$rootScope.i18n("categoryFilter.all")});
// add category labels to config names
state.configNames.forEach(configName => {
configName.categoryLabel = state.configCategories.find(item => item.category==configName.category)?.label
const categoryItem = state.configCategories.find(item => item.category==configName.category)
if (categoryItem) {
configName.categoryLabel = categoryItem.label
}
});
}

Expand Down

0 comments on commit fa94662

Please sign in to comment.