Demo code at line 64, 65 does not work about isHTML5 #1009

Open
opened 2018-04-18 07:22:43 +00:00 by win4517 · 1 comment
win4517 commented 2018-04-18 07:22:43 +00:00 (Migrated from github.com)

Original code at line 64, 65:

<td *ngIf="uploader.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td>
<td *ngIf="uploader.isHTML5">

I added options. can work:

<td *ngIf="uploader.options.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td>
<td *ngIf="uploader.options.isHTML5">

btw because at line 64, 65 have *ngIf,
so I think there are add *ngIf="uploader.options.isHTML5" at line 55, 56 as well.

Original code at line 64, 65: ``` <td *ngIf="uploader.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td> <td *ngIf="uploader.isHTML5"> ``` I added **options.** can work: ``` <td *ngIf="uploader.options.isHTML5" nowrap>{{ item?.file?.size/1024/1024 | number:'.2' }} MB</td> <td *ngIf="uploader.options.isHTML5"> ``` btw because at line 64, 65 have *ngIf, so I think there are add ***ngIf="uploader.options.isHTML5"** at line 55, 56 as well.
koenvanderlinden commented 2018-04-18 09:42:48 +00:00 (Migrated from github.com)

Yes, it's failty. There's a pull request #997 to fix this.
I hope the contributors can process them soon.

Yes, it's failty. There's a pull request #997 to fix this. I hope the contributors can process them soon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1009