Merge pull request #5454 from tsiegleauq/whole-agenda-slide-misses-top
Add top to agenda projection
This commit is contained in:
commit
a7703a5557
@ -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!');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user