mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 08:31:11 +10:00
client: updates
* work on groups ui * move settings to its own page * other fixes and refactoring
This commit is contained in:
13
apps/client/src/pages/settings/group/group-info.tsx
Normal file
13
apps/client/src/pages/settings/group/group-info.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
import SettingsTitle from "@/components/layouts/settings/settings-title.tsx";
|
||||
import GroupMembersList from "@/features/group/components/group-members";
|
||||
import GroupDetails from "@/features/group/components/group-details";
|
||||
|
||||
export default function GroupInfo() {
|
||||
return (
|
||||
<>
|
||||
<SettingsTitle title="Manage Group" />
|
||||
<GroupDetails />
|
||||
<GroupMembersList />
|
||||
</>
|
||||
);
|
||||
}
|
||||
18
apps/client/src/pages/settings/group/groups.tsx
Normal file
18
apps/client/src/pages/settings/group/groups.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import GroupList from "@/features/group/components/group-list";
|
||||
import SettingsTitle from "@/components/layouts/settings/settings-title.tsx";
|
||||
import { Group, Text } from "@mantine/core";
|
||||
import CreateGroupModal from "@/features/group/components/create-group-modal";
|
||||
|
||||
export default function Groups() {
|
||||
return (
|
||||
<>
|
||||
<SettingsTitle title="Groups" />
|
||||
|
||||
<Group my="md" justify="flex-end">
|
||||
<CreateGroupModal />
|
||||
</Group>
|
||||
|
||||
<GroupList />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user