From 2b553888706689ae42220f0d9ed8e7ac3f66ec43 Mon Sep 17 00:00:00 2001 From: Sean Date: Thu, 20 Aug 2020 13:22:47 +0200 Subject: [PATCH] Allow motion of non existing change recos Allows to project any version of the motions, event if they do not yet exist. Gives the user more control about the content they want to project. Currently, if a motion has no logical changed version, they would always project the original version which does not automatically update if a changed version exists. This behaviour would require the user to update their current projection --- client/src/app/site/motions/models/view-motion.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/client/src/app/site/motions/models/view-motion.ts b/client/src/app/site/motions/models/view-motion.ts index 6cf5bea3b..a519b8851 100644 --- a/client/src/app/site/motions/models/view-motion.ts +++ b/client/src/app/site/motions/models/view-motion.ts @@ -9,6 +9,7 @@ import { TitleInformationWithAgendaItem } from 'app/site/base/base-view-model-wi import { BaseViewModelWithAgendaItemAndListOfSpeakers } from 'app/site/base/base-view-model-with-agenda-item-and-list-of-speakers'; import { ProjectorElementBuildDeskriptor } from 'app/site/base/projectable'; import { Searchable } from 'app/site/base/searchable'; +import { SlideOptions } from 'app/site/base/slide-options'; import { ViewMediafile } from 'app/site/mediafiles/models/view-mediafile'; import { ViewTag } from 'app/site/tags/models/view-tag'; import { ViewUser } from 'app/site/users/models/view-user'; @@ -315,12 +316,8 @@ export class ViewMotion extends BaseViewModelWithAgendaItemAndListOfSpeakers ({