Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeevAnton1980 committed Dec 2, 2024
1 parent 7722bc7 commit 5f7308a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05-dom-document-loading/2-sortable-table-v1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class SortableTable {
createTableBodyCellTemplate(product, columnConfig) {
const fieldId = columnConfig["id"];
if (columnConfig["template"]) {
return columnConfig["template"](product[fieldId]);
return columnConfig["template"](product["images"]);
} else {
return `<div class="sortable-table__cell">${product[fieldId]}</div>`;
}
Expand Down

0 comments on commit 5f7308a

Please sign in to comment.