Web: Files: moved panels

This commit is contained in:
Nikita Gopienko 2020-03-30 14:56:25 +03:00
parent e9e6032914
commit e000092627
6 changed files with 9 additions and 8 deletions

View File

@ -20,13 +20,10 @@ import {
import { fetchFiles, setAction } from "../../../../../store/files/actions";
import { default as filesStore } from "../../../../../store/store";
import { EmptyTrashDialog, DeleteDialog } from '../../../../dialogs';
import { SharingPanel, AddGroupsPanel, AddUsersPanel} from "../../../../panels";
import { isCanBeDeleted } from "../../../../../store/files/selectors";
import SharingPanel from "./panels/SharingPanel";
import AddUsersPanel from "./panels/AddUsersPanel";
import AddGroupPanel from "./panels/AddGroupPanel";
import AccessComboBox from "./";
const { isAdmin } = store.auth.selectors;
const { FilterType, FileAction } = constants;
@ -565,7 +562,7 @@ const SectionHeaderContent = props => {
accessRight={accessRight}
/>
<AddGroupPanel
<AddGroupsPanel
onSharingPanelClose={openSharingPanel}
onClose={onShowGroupsPanel}
visible={showAddGroupsPanel}

View File

@ -8,7 +8,7 @@ import {
toastr
} from "asc-web-components";
import { GroupSelector } from "asc-web-common";
import { getUsersOfGroups } from "../../../../../../store/files/actions";
import { getUsersOfGroups } from "../../store/files/actions";
import {
StyledPanel,
StyledContent,

View File

@ -4,8 +4,7 @@ import {
Backdrop,
Heading,
Aside,
IconButton,
utils
IconButton
} from "asc-web-components";
import { PeopleSelector } from "asc-web-common";
import {

View File

@ -0,0 +1,5 @@
import SharingPanel from "./SharingPanel";
import AddUsersPanel from "./AddUsersPanel";
import AddGroupsPanel from "./AddGroupPanel";
export { SharingPanel, AddUsersPanel, AddGroupsPanel }