Web: Files: hid connection clouds for the desktop client
This commit is contained in:
parent
812a208ba1
commit
fcc1835bf2
@ -70,6 +70,7 @@ class ArticleBodyContent extends React.Component {
|
|||||||
isVisitor,
|
isVisitor,
|
||||||
personal,
|
personal,
|
||||||
firstLoad,
|
firstLoad,
|
||||||
|
isDesktopClient,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
//console.log("Article Body render");
|
//console.log("Article Body render");
|
||||||
@ -90,12 +91,17 @@ class ArticleBodyContent extends React.Component {
|
|||||||
onTreeDrop={onTreeDrop}
|
onTreeDrop={onTreeDrop}
|
||||||
/>
|
/>
|
||||||
{!personal && !firstLoad && <TreeSettings />}
|
{!personal && !firstLoad && <TreeSettings />}
|
||||||
{enableThirdParty && !isVisitor && <ThirdPartyList />}
|
|
||||||
<DownloadAppList />
|
{!isDesktopClient && (
|
||||||
{(isDesktop || isTablet) &&
|
<>
|
||||||
personal &&
|
{enableThirdParty && !isVisitor && <ThirdPartyList />}
|
||||||
!firstLoad &&
|
<DownloadAppList />
|
||||||
campaigns.length > 0 && <Banner />}
|
{(isDesktop || isTablet) &&
|
||||||
|
personal &&
|
||||||
|
!firstLoad &&
|
||||||
|
campaigns.length > 0 && <Banner />}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -115,7 +121,7 @@ export default inject(
|
|||||||
|
|
||||||
const { setNewFilesPanelVisible } = dialogsStore;
|
const { setNewFilesPanelVisible } = dialogsStore;
|
||||||
|
|
||||||
const { personal, hideArticle } = auth.settingsStore;
|
const { personal, hideArticle, isDesktopClient } = auth.settingsStore;
|
||||||
|
|
||||||
const selectedFolderTitle = selectedFolderStore.title;
|
const selectedFolderTitle = selectedFolderStore.title;
|
||||||
|
|
||||||
@ -138,6 +144,7 @@ export default inject(
|
|||||||
setNewFilesPanelVisible,
|
setNewFilesPanelVisible,
|
||||||
hideArticle,
|
hideArticle,
|
||||||
firstLoad,
|
firstLoad,
|
||||||
|
isDesktopClient,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)(observer(withRouter(ArticleBodyContent)));
|
)(observer(withRouter(ArticleBodyContent)));
|
||||||
|
Loading…
Reference in New Issue
Block a user