Web: Deleted useless code.
This commit is contained in:
parent
67d7febc9b
commit
c0cd2eb59a
@ -31,7 +31,6 @@ const InfoPanelHeaderContent = (props) => {
|
|||||||
getIsGallery,
|
getIsGallery,
|
||||||
getIsAccounts,
|
getIsAccounts,
|
||||||
isRootFolder,
|
isRootFolder,
|
||||||
canRemoveUserFromRoom,
|
|
||||||
rootFolderType,
|
rootFolderType,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
@ -129,7 +128,7 @@ const InfoPanelHeaderContent = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default inject(({ auth, selectedFolderStore, accessRightsStore }) => {
|
export default inject(({ auth, selectedFolderStore }) => {
|
||||||
const {
|
const {
|
||||||
selection,
|
selection,
|
||||||
setIsVisible,
|
setIsVisible,
|
||||||
@ -142,7 +141,6 @@ export default inject(({ auth, selectedFolderStore, accessRightsStore }) => {
|
|||||||
getIsAccounts,
|
getIsAccounts,
|
||||||
} = auth.infoPanelStore;
|
} = auth.infoPanelStore;
|
||||||
const { isRootFolder, rootFolderType } = selectedFolderStore;
|
const { isRootFolder, rootFolderType } = selectedFolderStore;
|
||||||
const { canRemoveUserFromRoom } = accessRightsStore;
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
selection,
|
selection,
|
||||||
@ -157,7 +155,6 @@ export default inject(({ auth, selectedFolderStore, accessRightsStore }) => {
|
|||||||
|
|
||||||
isRootFolder,
|
isRootFolder,
|
||||||
rootFolderType,
|
rootFolderType,
|
||||||
canRemoveUserFromRoom,
|
|
||||||
};
|
};
|
||||||
})(
|
})(
|
||||||
withTranslation(["Common", "InfoPanel"])(
|
withTranslation(["Common", "InfoPanel"])(
|
||||||
|
Loading…
Reference in New Issue
Block a user