Web: Files: moved panels
This commit is contained in:
parent
e9e6032914
commit
e000092627
@ -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}
|
||||
|
@ -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,
|
@ -4,8 +4,7 @@ import {
|
||||
Backdrop,
|
||||
Heading,
|
||||
Aside,
|
||||
IconButton,
|
||||
utils
|
||||
IconButton
|
||||
} from "asc-web-components";
|
||||
import { PeopleSelector } from "asc-web-common";
|
||||
import {
|
5
products/ASC.Files/Client/src/components/panels/index.js
Normal file
5
products/ASC.Files/Client/src/components/panels/index.js
Normal file
@ -0,0 +1,5 @@
|
||||
import SharingPanel from "./SharingPanel";
|
||||
import AddUsersPanel from "./AddUsersPanel";
|
||||
import AddGroupsPanel from "./AddGroupPanel";
|
||||
|
||||
export { SharingPanel, AddUsersPanel, AddGroupsPanel }
|
Loading…
Reference in New Issue
Block a user