Skip to content
Permalink
Browse files

Hotfix for proposal picker

  • Loading branch information...
carlosbpf committed Nov 5, 2019
1 parent 76d0e50 commit 091c3b490cf516b9d7a3302ab50eba388c2934a2
@@ -17,6 +17,7 @@
import org.xcolab.view.pages.proposals.view.proposal.json.picker.ProposalsResult;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
@@ -66,6 +67,11 @@ public ProposalsResult proposalPicker(HttpServletRequest request, HttpServletRes
default:
throw new InternalException("Unknown tab " + tab);
}
List<ProposalWrapper> reWrappedProposals = new ArrayList<>();
for(ProposalWrapper pw: proposals){
reWrappedProposals.add(new ProposalWrapper(pw));
}
proposals = reWrappedProposals;

int totalCount = proposals.size();

0 comments on commit 091c3b4

Please sign in to comment.
You can’t perform that action at this time.