Merge pull request #5454 from tsiegleauq/whole-agenda-slide-misses-top

Add top to agenda projection
This commit is contained in:
Emanuel Schütze 2020-07-09 09:25:36 +02:00 committed by GitHub
commit a7703a5557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ export class ItemListSlideComponent extends BaseSlideComponentDirective<ItemList
public getTitle(item: SlideItem): string {
const repo = this.collectionStringMapperService.getRepository(item.collection);
if (isBaseIsAgendaItemContentObjectRepository(repo)) {
return repo.getAgendaSlideTitle(item.title_information);
return repo.getListTitle(item.title_information);
} else {
throw new Error('The content object has no agenda based repository!');
}