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 {
|
public getTitle(item: SlideItem): string {
|
||||||
const repo = this.collectionStringMapperService.getRepository(item.collection);
|
const repo = this.collectionStringMapperService.getRepository(item.collection);
|
||||||
if (isBaseIsAgendaItemContentObjectRepository(repo)) {
|
if (isBaseIsAgendaItemContentObjectRepository(repo)) {
|
||||||
return repo.getAgendaSlideTitle(item.title_information);
|
return repo.getListTitle(item.title_information);
|
||||||
} else {
|
} else {
|
||||||
throw new Error('The content object has no agenda based repository!');
|
throw new Error('The content object has no agenda based repository!');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user