Skip to content

Commit

Permalink
Update getTitle of speaker with deleted user (#2895)
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl authored Nov 20, 2023
1 parent 66b6859 commit a02b87a
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 a02b87a

Please sign in to comment.