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 { fetchFiles, setAction } from "../../../../../store/files/actions";
|
||||||
import { default as filesStore } from "../../../../../store/store";
|
import { default as filesStore } from "../../../../../store/store";
|
||||||
import { EmptyTrashDialog, DeleteDialog } from '../../../../dialogs';
|
import { EmptyTrashDialog, DeleteDialog } from '../../../../dialogs';
|
||||||
|
import { SharingPanel, AddGroupsPanel, AddUsersPanel} from "../../../../panels";
|
||||||
import { isCanBeDeleted } from "../../../../../store/files/selectors";
|
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 { isAdmin } = store.auth.selectors;
|
||||||
const { FilterType, FileAction } = constants;
|
const { FilterType, FileAction } = constants;
|
||||||
@ -565,7 +562,7 @@ const SectionHeaderContent = props => {
|
|||||||
accessRight={accessRight}
|
accessRight={accessRight}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<AddGroupPanel
|
<AddGroupsPanel
|
||||||
onSharingPanelClose={openSharingPanel}
|
onSharingPanelClose={openSharingPanel}
|
||||||
onClose={onShowGroupsPanel}
|
onClose={onShowGroupsPanel}
|
||||||
visible={showAddGroupsPanel}
|
visible={showAddGroupsPanel}
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
toastr
|
toastr
|
||||||
} from "asc-web-components";
|
} from "asc-web-components";
|
||||||
import { GroupSelector } from "asc-web-common";
|
import { GroupSelector } from "asc-web-common";
|
||||||
import { getUsersOfGroups } from "../../../../../../store/files/actions";
|
import { getUsersOfGroups } from "../../store/files/actions";
|
||||||
import {
|
import {
|
||||||
StyledPanel,
|
StyledPanel,
|
||||||
StyledContent,
|
StyledContent,
|
@ -4,8 +4,7 @@ import {
|
|||||||
Backdrop,
|
Backdrop,
|
||||||
Heading,
|
Heading,
|
||||||
Aside,
|
Aside,
|
||||||
IconButton,
|
IconButton
|
||||||
utils
|
|
||||||
} from "asc-web-components";
|
} from "asc-web-components";
|
||||||
import { PeopleSelector } from "asc-web-common";
|
import { PeopleSelector } from "asc-web-common";
|
||||||
import {
|
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