Merge pull request #5480 from tsiegleauq/amendment-without-parent-motion
Detect if the parent motion was deleted
This commit is contained in:
commit
23ae32a758
@ -878,9 +878,10 @@
|
||||
<!-- If the array exists, we do not have an error -->
|
||||
<div *ngIf="motion.diffLines">
|
||||
<div class="alert alert-info" *ngIf="motion.diffLines.length === 0">
|
||||
<span>{{ 'No changes at the text.' | translate }}</span>
|
||||
<i *ngIf="motion.parent">{{ 'No changes at the text.' | translate }}</i>
|
||||
<i *ngIf="!motion.parent">{{ 'The parent motion was deleted' | translate }}</i>
|
||||
</div>
|
||||
<ng-container *ngIf="!isRecoMode(ChangeRecoMode.Diff) && !isFinalEdit">
|
||||
<ng-container *ngIf="motion.parent && !isRecoMode(ChangeRecoMode.Diff) && !isFinalEdit">
|
||||
<div
|
||||
*ngFor="let paragraph of getAmendmentParagraphs()"
|
||||
class="motion-text motion-text-diff amendment-view"
|
||||
|
Loading…
Reference in New Issue
Block a user