add demo role to list of roles
This commit is contained in:
1 parent
69bec42a66
commit
be3b7c2e86
2 files changed
+2
No files matched your search
@@ -43,6 +43,7 @@ export const AddTeamMemberDialog = ({
|
||||
const roleOptions: { value: UserRole; label: string }[] = [
|
||||
{ value: "admin", label: t("common.auth.roles.admin") },
|
||||
{ value: "user", label: t("common.auth.roles.user") },
|
||||
{ value: "demo", label: t("common.auth.roles.demo") },
|
||||
];
|
||||
|
||||
const handleClose = () => {
|
||||
|
||||
@@ -48,6 +48,7 @@ export const InviteTeamMemberDialog = ({
|
||||
const roleOptions: { value: UserRole; label: string }[] = [
|
||||
{ value: "admin", label: t("common.auth.roles.admin") },
|
||||
{ value: "user", label: t("common.auth.roles.user") },
|
||||
{ value: "demo", label: t("common.auth.roles.demo") },
|
||||
];
|
||||
|
||||
const handleGenerateToken = async (data: InviteFormData) => {
|
||||
|
||||
Reference in new issue
Block a user