Skip to content
Snippets Groups Projects
Commit d9abbd6b authored by srosse's avatar srosse
Browse files

no-jira: fix red screen if group hasn't any resources

parent 42070d08
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,9 @@ public class BGResourcesCellRenderer implements CustomCellRenderer {
if(val instanceof BGTableItem) {
BGTableItem item = (BGTableItem)val;
List<RepositoryEntry> resources = item.getResources();
if(resources == null || resources.isEmpty()) {
return;
}
int count = 0;
for(RepositoryEntry resource:resources) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment