Skip to content

Commit

Permalink
rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGe committed Feb 6, 2023
1 parent 992a82d commit 84e8144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atramhasis/static/admin/src/app/utils/DomUtils.js
Expand Up @@ -24,7 +24,7 @@ define([
* labelProperty: {string}
* }
*/
addOptionsToSelect: function (select, options, lang = false) {
addOptionsToSelect: function (select, options, showId = false) {
options.data.forEach(item => {
const itemProp = lang ? item[options.labelProperty] + ' (' + item[options.idProperty] + ')' : item[options.labelProperty];
domConstruct.place(`<option value="${item[options.idProperty]}">${itemProp}</option>`, select);
Expand Down

0 comments on commit 84e8144

Please sign in to comment.