Skip to content

Commit

Permalink
Update getTitle of speaker with deleted user
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl committed Oct 16, 2023
1 parent cbc99c5 commit 76ce0b0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export class SpeakerRepositoryService extends BaseMeetingRelatedRepository<ViewS

public getVerboseName = (plural = false) => this.translate.instant(plural ? `Speakers` : `Speaker`);

public getTitle = (viewSpeaker: ViewSpeaker) => (viewSpeaker.user ? viewSpeaker.user.getFullName() : ``);
public getTitle = (viewSpeaker: ViewSpeaker) =>
viewSpeaker.user ? viewSpeaker.user.getFullName() : this.translate.instant(`Deleted user`);

public create(
listOfSpeakers: ListOfSpeakers,
Expand Down

0 comments on commit 76ce0b0

Please sign in to comment.