Add top to agenda projection
Show the agenda title prefix in the whole agenda slide projection
This commit is contained in:
parent
3063a9e9fc
commit
32775b0a2a
@ -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