Skip to content

Commit

Permalink
Use component instead of module
Browse files Browse the repository at this point in the history
Better aligned with what we used elsewhere
  • Loading branch information
cgendreau committed Sep 10, 2024
1 parent f68b4c4 commit b6673c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ExportColumnSelection {

@NotEmpty
@Size(max = 50)
private String module;
private String component;

@NotNull
private List<String> columns;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static UserPreferenceDto.UserPreferenceDtoBuilder newUserPreferenceDto(
return UserPreferenceDto.builder()
.uiPreference(Map.of("key", "value"))
.savedExportColumnSelection(List.of(ExportColumnSelection.builder()
.name("my export columns").module("material-sample").columns(List.of("col1", "col2"))
.name("my export columns").component("material-sample").columns(List.of("col1", "col2"))
.build()))
.userId(expectedUserId);
}
Expand Down

0 comments on commit b6673c9

Please sign in to comment.