mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-1574] DocumentList - single click navigation (#513)
* single click navigation * fix tests * allow action on row * use adf link class * update tests
This commit is contained in:
committed by
Denys Vuika
parent
36629adf99
commit
af4089ae74
@@ -147,7 +147,7 @@
|
||||
[allowDropFiles]="true"
|
||||
[navigate]="false"
|
||||
[imageResolver]="imageResolver"
|
||||
(node-dblclick)="onNodeDoubleClick($event.detail?.node)">
|
||||
(node-dblclick)="navigateTo($event.detail?.node)">
|
||||
|
||||
<data-columns>
|
||||
<data-column
|
||||
@@ -158,11 +158,15 @@
|
||||
</data-column>
|
||||
|
||||
<data-column
|
||||
class="adf-data-table-cell--ellipsis__name"
|
||||
class="adf-data-table-cell--ellipsis__name adf-location-cell"
|
||||
key="name"
|
||||
title="APP.DOCUMENT_LIST.COLUMNS.NAME">
|
||||
<ng-template let-value="value" let-context>
|
||||
<span class="adf-datatable-cell" title="{{ context?.row?.obj | adfNodeNameTooltip }}">{{ value }}</span>
|
||||
<a
|
||||
title="{{ context?.row?.obj | adfNodeNameTooltip }}"
|
||||
(click)="navigateTo(context?.row?.obj)">
|
||||
{{ value }}
|
||||
</a>
|
||||
</ng-template>
|
||||
</data-column>
|
||||
|
||||
|
Reference in New Issue
Block a user