mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
[ACS-6583] fix flickering toolbar on folder upload
This commit is contained in:
@@ -257,7 +257,7 @@ export class FilesComponent extends PageComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
displayFolderParent(index: number, filePath = '') {
|
||||
const parentName = filePath.split('/')[index];
|
||||
const parentName = filePath.split('/').filter((el) => el)[index];
|
||||
const currentFoldersDisplayed = (this.documentList.data.getRows() as ShareDataRow[]) || [];
|
||||
|
||||
const alreadyDisplayedParentFolder = currentFoldersDisplayed.find((row) => row.node.entry.isFolder && row.node.entry.name === parentName);
|
||||
|
Reference in New Issue
Block a user