Merge pull request #4612 from MaximilianKrambach/personalNotebutton
personal note pdf only if personal note is present
This commit is contained in:
commit
2b9f1a21a9
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user