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
2e1faddc57
commit
c43fafcf53
@ -33,7 +33,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr *ngFor="#content of folder.list.entries; #idx = index"
|
<tr *ngFor="#content of folder.list.entries; #idx = index"
|
||||||
[attr.data-automation-id]="getObjectValue(content.entry, 'name')">
|
[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