mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-621] show drop effect on folders only (#1897)
* show drop effect on folders only - fix `hasValue` api for data rows (avoid 'false' value to be evaluated as missing value) - support for evaluating drop support for rows - document list enables upload zones for folders only * api improvements as per code review
This commit is contained in:
committed by
Eugenio Romano
parent
d8a46c9765
commit
7b17b10ef1
@@ -264,4 +264,8 @@ export class DataTableComponent implements AfterContentInit, OnChanges {
|
||||
this.executeRowAction.emit(new DataRowActionEvent(row, action));
|
||||
}
|
||||
}
|
||||
|
||||
rowAllowsDrop(row: DataRow): boolean {
|
||||
return row.isDropTarget === true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user