feat: cycles and modules toggle in settings, refactor: folder structure (#247)
* feat: link option in remirror * fix: removed link import from remirror toolbar * refactor: constants folder * refactor: layouts folder structure * fix: issue view context * feat: cycles and modules toggle in settings
This commit is contained in:
parent
4e27e93739
commit
76cc634a46
73 changed files with 1283 additions and 1648 deletions
|
|
@ -13,6 +13,8 @@ import useToast from "hooks/use-toast";
|
|||
import { IWorkspaceMemberInvitation } from "types";
|
||||
// fetch keys
|
||||
import { WORKSPACE_INVITATIONS } from "constants/fetch-keys";
|
||||
// constants
|
||||
import { ROLE } from "constants/workspace";
|
||||
|
||||
type Props = {
|
||||
isOpen: boolean;
|
||||
|
|
@ -21,13 +23,6 @@ type Props = {
|
|||
members: any[];
|
||||
};
|
||||
|
||||
const ROLE = {
|
||||
5: "Guest",
|
||||
10: "Viewer",
|
||||
15: "Member",
|
||||
20: "Admin",
|
||||
};
|
||||
|
||||
const defaultValues: Partial<IWorkspaceMemberInvitation> = {
|
||||
email: "",
|
||||
role: 5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue