personal note pdf only if personal note is present

This commit is contained in:
Maximilian Krambach 2019-04-18 11:37:49 +02:00
parent 16ea66e9ed
commit 4472ba9690

View File

@ -25,7 +25,8 @@
matTooltip="{{ 'Edit' | translate }}"> matTooltip="{{ 'Edit' | translate }}">
<mat-icon>edit</mat-icon> <mat-icon>edit</mat-icon>
</button> </button>
<button mat-icon-button *ngIf="!isEditMode && motion && motion.personalNote" (click)="printPersonalNote()" <button mat-icon-button *ngIf="!isEditMode && motion && motion.personalNote && motion.personalNote.note"
(click)="printPersonalNote()"
matTooltip="{{ 'Export personal note only' | translate }}"> matTooltip="{{ 'Export personal note only' | translate }}">
<mat-icon>picture_as_pdf</mat-icon> <mat-icon>picture_as_pdf</mat-icon>
</button> </button>