diff --git a/client/src/app/core/repositories/base-repository.ts b/client/src/app/core/repositories/base-repository.ts index 6624da3a1..718a19741 100644 --- a/client/src/app/core/repositories/base-repository.ts +++ b/client/src/app/core/repositories/base-repository.ts @@ -169,7 +169,7 @@ export abstract class BaseRepository { return ctor.COLLECTIONSTRING === collection; }); - if (collection === this.collectionString || !dependencyChanged) { + if (!dependencyChanged) { return; } diff --git a/client/src/app/core/repositories/motions/motion-repository.service.ts b/client/src/app/core/repositories/motions/motion-repository.service.ts index 36ac5ff3a..97f822bd1 100644 --- a/client/src/app/core/repositories/motions/motion-repository.service.ts +++ b/client/src/app/core/repositories/motions/motion-repository.service.ts @@ -275,7 +275,7 @@ export class MotionRepositoryService extends BaseIsAgendaItemAndListOfSpeakersCo const dependencyChanged: boolean = this.depsModelCtors.some(ctor => { return ctor.COLLECTIONSTRING === collection; }); - if (collection === this.collectionString || !dependencyChanged) { + if (!dependencyChanged) { return; }