Skip to content

Commit

Permalink
Update simple demo
Browse files Browse the repository at this point in the history
Fix correct path for isHTML5 option
  • Loading branch information
Gilles Gauthier authored Jul 12, 2017
1 parent 41759be commit 74306fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/src/app/components/file-upload/simple-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ <h3>Upload queue</h3>
<tbody>
<tr *ngFor="let item of uploader.queue">
<td><strong>{{ item?.file?.name }}</strong></td>
<td *ngIf="uploader.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td>
<td *ngIf="uploader.isHTML5">
<td *ngIf="uploader.options.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td>
<td *ngIf="uploader.options.isHTML5">
<div class="progress" style="margin-bottom: 0;">
<div class="progress-bar" role="progressbar" [ngStyle]="{ 'width': item.progress + '%' }"></div>
</div>
Expand Down

0 comments on commit 74306fc

Please sign in to comment.