mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
add data-automation-id for document list rows
This commit is contained in:
parent
a4a26d48be
commit
d9188a2ac9
@ -32,7 +32,8 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr *ngFor="#content of folder.list.entries; #idx = index">
|
<tr *ngFor="#content of folder.list.entries; #idx = index"
|
||||||
|
[attr.automation-id]="getObjectValue(content.entry, 'name')">
|
||||||
<!-- Columns -->
|
<!-- Columns -->
|
||||||
<td *ngFor="#col of columns" [ngSwitch]="col.source"
|
<td *ngFor="#col of columns" [ngSwitch]="col.source"
|
||||||
class="mdl-data-table__cell--non-numeric {{content.entry.isFolder ? 'folder-row-cell' : 'document-row-cell'}} {{col.cssClass}}"
|
class="mdl-data-table__cell--non-numeric {{content.entry.isFolder ? 'folder-row-cell' : 'document-row-cell'}} {{col.cssClass}}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user