mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-3907] Document list header should not appear on an empty list (#1657)
* show header based on data * try another selector Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
This commit is contained in:
@@ -37,7 +37,7 @@ export class DataTable extends Component {
|
|||||||
.adf-datatable__header--sorted-asc .adf-datatable-cell-value,
|
.adf-datatable__header--sorted-asc .adf-datatable-cell-value,
|
||||||
.adf-datatable__header--sorted-desc .adf-datatable-cell-value
|
.adf-datatable__header--sorted-desc .adf-datatable-cell-value
|
||||||
`,
|
`,
|
||||||
row: '.adf-datatable-row[role]',
|
row: '.adf-datatable-row[data-automation-id^="datatable-row"]',
|
||||||
cell: '.adf-datatable-cell-container',
|
cell: '.adf-datatable-cell-container',
|
||||||
lockOwner: '.aca-locked-by',
|
lockOwner: '.aca-locked-by',
|
||||||
searchResultsRow: 'aca-search-results-row',
|
searchResultsRow: 'aca-search-results-row',
|
||||||
|
@@ -65,7 +65,7 @@ export abstract class PageComponent implements OnInit, OnDestroy, OnChanges {
|
|||||||
canUpdateNode = false;
|
canUpdateNode = false;
|
||||||
canUpload = false;
|
canUpload = false;
|
||||||
nodeResult: NodePaging;
|
nodeResult: NodePaging;
|
||||||
showHeader = ShowHeaderMode.Always;
|
showHeader = ShowHeaderMode.Data;
|
||||||
filterSorting = 'name-asc';
|
filterSorting = 'name-asc';
|
||||||
|
|
||||||
protected subscriptions: Subscription[] = [];
|
protected subscriptions: Subscription[] = [];
|
||||||
|
Reference in New Issue
Block a user