From e26890353613ee5e68f8d7ccfe2a74f0be7c3f7a Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 17 Jul 2020 16:06:05 +0200 Subject: [PATCH] Detect if the parent motion was deleted Fixes an error where the motion detail page would not open if the parent motion to an amendment was deleted. Show a warning if the parent motion to an amendment is missing --- .../components/motion-detail/motion-detail.component.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.html b/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.html index 96eea921e..c32c99510 100644 --- a/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.html +++ b/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.html @@ -878,9 +878,10 @@
- {{ 'No changes at the text.' | translate }} + {{ 'No changes at the text.' | translate }} + {{ 'The parent motion was deleted' | translate }}
- +