Preparing search index...
The search index is not available
Tanatloc documentation
Tanatloc documentation
Components.Assets.Group
_onAdd
Function _onAdd
On add
_onAdd
(
organization
:
Pick
<
IFrontOrganizationsItem
,
"id"
|
"groups"
>
,
values
:
{
name
:
string
;
users
:
string
[]
}
,
swr
:
{
addOneGroup
:
(
group
:
IFrontNewGroup
)
=>
Promise
<
void
>
;
mutateOneOrganization
:
(
organization
:
IFrontMutateOrganizationsItem
,
)
=>
Promise
<
void
>
;
}
,
)
:
Promise
<
void
>
Parameters
organization
:
Pick
<
IFrontOrganizationsItem
,
"id"
|
"groups"
>
Organization
values
:
{
name
:
string
;
users
:
string
[]
}
Values
swr
:
{
addOneGroup
:
(
group
:
IFrontNewGroup
)
=>
Promise
<
void
>
;
mutateOneOrganization
:
(
organization
:
IFrontMutateOrganizationsItem
,
)
=>
Promise
<
void
>
;
}
SWR
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Tanatloc documentation
Loading...
On add