From a02b87a2f09e3bde7ff7b7daf52c0b0029783b74 Mon Sep 17 00:00:00 2001 From: reiterl Date: Mon, 20 Nov 2023 12:27:53 +0100 Subject: [PATCH] Update getTitle of speaker with deleted user (#2895) --- .../repositories/speakers/speaker-repository.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app/gateways/repositories/speakers/speaker-repository.service.ts b/client/src/app/gateways/repositories/speakers/speaker-repository.service.ts index 9ce65bf276..8f2df70212 100644 --- a/client/src/app/gateways/repositories/speakers/speaker-repository.service.ts +++ b/client/src/app/gateways/repositories/speakers/speaker-repository.service.ts @@ -20,7 +20,8 @@ export class SpeakerRepositoryService extends BaseMeetingRelatedRepository 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,