Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
Merge 0c47eba into 828ef6e
Browse files Browse the repository at this point in the history
  • Loading branch information
velimd committed Mar 8, 2019
2 parents 828ef6e + 0c47eba commit 4648d21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,11 @@
[rotate]="true">
</app-document-viewer>
<app-document-viewer *ngIf="documentTypeToShow === 'nonDM_PDF'"
[baseUrl]="'http://localhost:3000/api'"
[annotate]="false"
[url]="'http://localhost:3000/assets/non-dm.pdf'"
[isDM]="false"
[contentType]="'pdf'">
</app-document-viewer>
<app-document-viewer *ngIf="documentTypeToShow === 'nonDM_image'"
[baseUrl]="'http://localhost:3000/api'"
[annotate]="false"
[url]="'http://localhost:3000/assets/non-dm.jpg'"
[isDM]="false"
[contentType]="'image'">
</app-document-viewer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export class DocumentViewerComponent implements OnChanges, OnInit {

@ViewChild(ViewerAnchorDirective) viewerAnchor: ViewerAnchorDirective;
@Input() url = '';
@Input() annotate: boolean;
@Input() baseUrl: string;
@Input() isDM: boolean;
@Input() annotate = false;
@Input() baseUrl = '';
@Input() isDM = false;
@Input() contentType: string;
@Input() rotate = false;

Expand Down

0 comments on commit 4648d21

Please sign in to comment.