Web: Files: removed unused code
This commit is contained in:
parent
ffddbbe1ba
commit
5c5db26dc4
@ -7,10 +7,6 @@ const StyledSectionPaging = styled.div`
|
||||
`;
|
||||
|
||||
class SectionPaging extends React.Component {
|
||||
// shouldComponentUpdate(nextProps) {
|
||||
// return !equal(this.props, nextProps);
|
||||
// }
|
||||
|
||||
render() {
|
||||
return <StyledSectionPaging {...this.props} />;
|
||||
}
|
||||
|
@ -382,8 +382,6 @@ class FilesStore {
|
||||
}
|
||||
|
||||
if (!newItems.find((x) => x.id == folderId)) {
|
||||
//newItems.push(data.current);
|
||||
|
||||
path.splice(data.pathParts.length - 1, 1);
|
||||
const subfolders = await getSubfolders(data.current.parentId);
|
||||
loopTreeFolders(path, treeFolders, subfolders, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user