Dynamic attributes needs attr. before data-automation-id

This commit is contained in:
Vito Albano
2016-06-23 16:48:35 +01:00
parent 8163637a89
commit ba884e4eb0

View File

@@ -11,7 +11,7 @@
<th>{{'FILE_UPLOAD.FILE_INFO.ACTION' | translate}}</th> <th>{{'FILE_UPLOAD.FILE_INFO.ACTION' | translate}}</th>
</tr> </tr>
<tr *ngFor="let file of filesUploadingList"> <tr *ngFor="let file of filesUploadingList">
<td data-automation-id="'dialog_' + file.name" class="mdl-data-table__cell--non-numeric"><div class="truncate">{{file.name}}</div></td> <td attr.data-automation-id="{{file.name}}" class="mdl-data-table__cell--non-numeric"><div class="truncate">{{file.name}}</div></td>
<td _ngcontent-hvq-3=""> <td _ngcontent-hvq-3="">
<div _ngcontent-hvq-3="" class="mdl-progress mdl-js-progress is-upgraded" id="{{file.id}}" <div _ngcontent-hvq-3="" class="mdl-progress mdl-js-progress is-upgraded" id="{{file.id}}"
data-upgraded=",MaterialProgress"> data-upgraded=",MaterialProgress">