mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 14:05:35 +01:00
add team manager role
This commit is contained in:
parent
ca2a7f3354
commit
9c06bc9893
9 changed files with 34 additions and 8 deletions
|
|
@ -40,6 +40,9 @@ export function TeamMemberEditForm({
|
|||
};
|
||||
|
||||
const renderValue = (value: string) => {
|
||||
if (value === ROLES.teamManager) {
|
||||
return formatMessage(labels.manager);
|
||||
}
|
||||
if (value === ROLES.teamMember) {
|
||||
return formatMessage(labels.member);
|
||||
}
|
||||
|
|
@ -58,6 +61,7 @@ export function TeamMemberEditForm({
|
|||
minWidth: '250px',
|
||||
}}
|
||||
>
|
||||
<Item key={ROLES.teamManager}>{formatMessage(labels.manager)}</Item>
|
||||
<Item key={ROLES.teamMember}>{formatMessage(labels.member)}</Item>
|
||||
<Item key={ROLES.teamViewOnly}>{formatMessage(labels.viewOnly)}</Item>
|
||||
</Dropdown>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue