fix(giving): keep giver name visible when editing a buffered offering line
This commit is contained in:
+4
@@ -106,6 +106,10 @@ export class OfferingSessionPageComponent implements OnInit {
|
||||
this.entry = { ...l };
|
||||
this.selectedMemberId = l.memberId;
|
||||
this.selectedMemberName = l.memberName;
|
||||
// Seed the dropdown so the giver name stays visible while editing the line.
|
||||
this.memberResults = (l.memberId && l.memberName)
|
||||
? [{ id: l.memberId, displayName: l.memberName }]
|
||||
: [];
|
||||
this.editingIndex = i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user