Web: Section: Added collaborator type to context menu.
This commit is contained in:
parent
525433b6f2
commit
840c12202e
@ -4,6 +4,7 @@ import PersonAdminReactSvgUrl from "PUBLIC_DIR/images/person.admin.react.svg?url
|
||||
import PersonManagerReactSvgUrl from "PUBLIC_DIR/images/person.manager.react.svg?url";
|
||||
import PersonUserReactSvgUrl from "PUBLIC_DIR/images/person.user.react.svg?url";
|
||||
import InviteAgainReactSvgUrl from "PUBLIC_DIR/images/invite.again.react.svg?url";
|
||||
import PersonReactSvgUrl from "PUBLIC_DIR/images/person.react.svg?url";
|
||||
import React, { useCallback } from "react";
|
||||
import { inject, observer } from "mobx-react";
|
||||
import { withTranslation } from "react-i18next";
|
||||
@ -263,6 +264,15 @@ const SectionHeaderContent = (props) => {
|
||||
"data-type": EmployeeType.User,
|
||||
key: "manager",
|
||||
},
|
||||
{
|
||||
id: "accounts-add_collaborator",
|
||||
className: "main-button_drop-down",
|
||||
icon: PersonReactSvgUrl,
|
||||
label: t("Common:Collaborator"),
|
||||
onClick: onInvite,
|
||||
"data-type": EmployeeType.Collaborator,
|
||||
key: "collaborator",
|
||||
},
|
||||
{
|
||||
id: "accounts-add_user",
|
||||
className: "main-button_drop-down",
|
||||
|
Loading…
Reference in New Issue
Block a user