Web: Files: SelectFileDialog: Deleted the base selected folder.
This commit is contained in:
parent
d89657ff5f
commit
ed0fc8981e
@ -33,7 +33,7 @@ class SelectFileDialogModalViewBody extends React.Component {
|
|||||||
.then((commonFolder) => {
|
.then((commonFolder) => {
|
||||||
this.folderList = commonFolder;
|
this.folderList = commonFolder;
|
||||||
})
|
})
|
||||||
.then(() => onSelectFolder(`${this.folderList[0].id}`))
|
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
onSetLoadingData && onSetLoadingData(false);
|
onSetLoadingData && onSetLoadingData(false);
|
||||||
|
|
||||||
@ -91,7 +91,7 @@ class SelectFileDialogModalViewBody extends React.Component {
|
|||||||
loadNextPage,
|
loadNextPage,
|
||||||
selectedFolder,
|
selectedFolder,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
const { isAvailableFolders, isLoading, selectedKeys } = this.state;
|
const { selectedKeys } = this.state;
|
||||||
console.log("filesList", filesList);
|
console.log("filesList", filesList);
|
||||||
return (
|
return (
|
||||||
<StyledAsidePanel visible={isPanelVisible}>
|
<StyledAsidePanel visible={isPanelVisible}>
|
||||||
|
Loading…
Reference in New Issue
Block a user