Skip to content

Commit

Permalink
Fix TypeError in console when deleting active speaker (#3637)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisa-beerboom authored May 3, 2024
1 parent c4a98dd commit c8ea278
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export class SpeakingTimesComponent implements OnDestroy {
)
)
.subscribe(speaker => {
this.updateSpeakingTime(speaker.structure_level_list_of_speakers);
if (speaker) {
this.updateSpeakingTime(speaker.structure_level_list_of_speakers);
}
})
);
}
Expand Down

0 comments on commit c8ea278

Please sign in to comment.