Skip to content

Commit

Permalink
Merge pull request #19 from LCOGT/fix/requestgroups-list-proposal-code
Browse files Browse the repository at this point in the history
Add proposal code to filter dropdown
  • Loading branch information
mgdaily authored Feb 25, 2021
2 parents fbfcd8f + 34cffc0 commit 5e7d153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/RequestgroupsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ export default {
}
if (this.profile.proposals) {
for (let proposal of this.profile.proposals) {
options.push({ value: proposal.id, text: proposal.title, selected: selected === proposal.id });
let proposalText = `${proposal.id}: ${proposal.title}`;
options.push({ value: proposal.id, text: proposalText, selected: selected === proposal.id });
}
}
return options;
Expand Down

0 comments on commit 5e7d153

Please sign in to comment.