Skip to content

Commit

Permalink
chore: refactoring after code review
Browse files Browse the repository at this point in the history
Refs: #285
  • Loading branch information
pbezliapovich committed Dec 4, 2024
1 parent 65e4ed5 commit ca3718c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ private void renderItem(@NotNull HtmlContentBuilder builder, @NotNull ModelObjec
.byName("data-id", getValue(item, "id"))
.className("export-item");

if (PrototypeEnum.BaselineCollection.name().equals(item.getOldApi().getPrototype().getName())) {
checkbox.attributes().byName("data-name", getValue(item, "name"));
}

for (Field column : this.columns) {
td = builder.tag().td();
column.render(item.fields()).withLinks(true).htmlTo(td.append());
Expand Down

0 comments on commit ca3718c

Please sign in to comment.