Web: Files: fix tree folder loaders

This commit is contained in:
Dmitry Sychugov 2021-09-01 15:38:03 +05:00
parent aa7f61e462
commit 6c54f593ed

View File

@ -482,7 +482,6 @@ export default inject(
{ useDefaultSelectedKeys, selectedKeys }
) => {
const {
filter,
selection,
setIsLoading,
isLoading,
@ -512,7 +511,6 @@ export default inject(
myId: myFolderId,
commonId: commonFolderId,
isPrivacy: isPrivacyFolder,
filter,
draggableItems: dragging ? selection : null,
expandedKeys,
treeFolders,
@ -531,6 +529,6 @@ export default inject(
}
)(
withTranslation(["Home", "Common"])(
withLoader(observer(TreeFolders))(<Loaders.Rectangle width="217px" />)
withLoader(observer(TreeFolders))(<Loaders.TreeFolders />)
)
);