Merge pull request #6185 from tsiegleauq/agenda-list-error
Fix an error where the workflow would break agenda
This commit is contained in:
commit
c48658210b
@ -76,7 +76,7 @@ export class ProjectorService {
|
|||||||
*/
|
*/
|
||||||
public isProjected(obj: Projectable | ProjectorElementBuildDeskriptor | IdentifiableProjectorElement): boolean {
|
public isProjected(obj: Projectable | ProjectorElementBuildDeskriptor | IdentifiableProjectorElement): boolean {
|
||||||
const element = this.getProjectorElement(obj);
|
const element = this.getProjectorElement(obj);
|
||||||
if (element.getIdentifiers) {
|
if (element?.getIdentifiers) {
|
||||||
return this.DS.getAll<Projector>('core/projector').some(projector => {
|
return this.DS.getAll<Projector>('core/projector').some(projector => {
|
||||||
return projector.isElementShown(element);
|
return projector.isElementShown(element);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user