Merge branch 'feature/workspaces' of github.com:ONLYOFFICE/AppServer into feature/workspaces
This commit is contained in:
commit
3a381b48e6
@ -179,9 +179,7 @@ class DropDownContainer extends React.Component {
|
||||
};
|
||||
render() {
|
||||
const { withBackdrop = true, open } = this.props;
|
||||
const eventTypesProp = isMobile
|
||||
? { eventTypes: ["click", "touchend"] }
|
||||
: {};
|
||||
const eventTypesProp = isMobile ? { eventTypes: ["touchend"] } : {};
|
||||
|
||||
return (
|
||||
<>
|
||||
|
@ -85,8 +85,18 @@ const DeleteThirdPartyDialog = withTranslation("DeleteThirdPartyDialog")(
|
||||
);
|
||||
|
||||
export default inject(
|
||||
({ filesStore, thirdParty, treeFoldersStore, selectedFolderStore }) => {
|
||||
const { providers, setThirdPartyProviders, deleteThirdParty } = thirdParty;
|
||||
({
|
||||
filesStore,
|
||||
settingsStore,
|
||||
dialogsStore,
|
||||
treeFoldersStore,
|
||||
selectedFolderStore,
|
||||
}) => {
|
||||
const {
|
||||
providers,
|
||||
setThirdPartyProviders,
|
||||
deleteThirdParty,
|
||||
} = settingsStore.thirdPartyStore;
|
||||
const { fetchFiles } = filesStore;
|
||||
|
||||
const {
|
||||
|
@ -85,7 +85,7 @@ const SimpleFilesRow = (props) => {
|
||||
|
||||
setSharingPanelVisible,
|
||||
setChangeOwnerPanelVisible,
|
||||
showDeleteThirdPartyDialog,
|
||||
setDeleteThirdPartyDialogVisible,
|
||||
setRemoveItem,
|
||||
setMoveToPanelVisible,
|
||||
setCopyPanelVisible,
|
||||
@ -252,7 +252,7 @@ const SimpleFilesRow = (props) => {
|
||||
if (isThirdPartyFolder) {
|
||||
const splitItem = id.split("-");
|
||||
setRemoveItem({ id: splitItem[splitItem.length - 1], title });
|
||||
showDeleteThirdPartyDialog(true);
|
||||
setDeleteThirdPartyDialogVisible(true);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -546,7 +546,7 @@ export default inject(
|
||||
setSharingPanelVisible,
|
||||
setChangeOwnerPanelVisible,
|
||||
setRemoveItem,
|
||||
showDeleteThirdPartyDialog,
|
||||
setDeleteThirdPartyDialogVisible,
|
||||
setMoveToPanelVisible,
|
||||
setCopyPanelVisible,
|
||||
setShareItem,
|
||||
@ -611,7 +611,7 @@ export default inject(
|
||||
setShareItem,
|
||||
setChangeOwnerPanelVisible,
|
||||
setRemoveItem,
|
||||
showDeleteThirdPartyDialog,
|
||||
setDeleteThirdPartyDialogVisible,
|
||||
setMoveToPanelVisible,
|
||||
setCopyPanelVisible,
|
||||
openDocEditor,
|
||||
|
Loading…
Reference in New Issue
Block a user