From d17ad04b6c75759d2f3e12484bcf9fb05c1be079 Mon Sep 17 00:00:00 2001 From: Sean Engelhardt Date: Mon, 9 Dec 2019 14:24:05 +0100 Subject: [PATCH] Add more motion filter options Adds a motion filter option for motions which have no amendments and are no amendments --- client/src/app/site/motions/models/view-motion.ts | 11 +++++------ client/src/app/site/motions/motions.constants.ts | 3 ++- .../motions/services/motion-filter-list.service.ts | 3 ++- 3 files changed, 9 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 9a96be103..0d2e7e4b2 100644 --- a/client/src/app/site/motions/models/view-motion.ts +++ b/client/src/app/site/motions/models/view-motion.ts @@ -165,14 +165,13 @@ export class ViewMotion extends BaseViewModelWithAgendaItemAndListOfSpeakers { label: 'Amendment', options: [ { condition: AmendmentType.Amendment, label: this.translate.instant('Is amendment') }, - { condition: AmendmentType.Parent, label: this.translate.instant('Has amendments') } + { condition: AmendmentType.Parent, label: this.translate.instant('Has amendments') }, + { condition: AmendmentType.Lead, label: this.translate.instant('Is no amendment and has no amendments') } ] };