Make team selects searchable (#4308)
# What this PR does
Make team selects searchable
## Which issue(s) this PR closes
## Checklist
- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
show up in the autogenerated release notes.
This commit is contained in:
parent
d4095d8131
commit
1fb25529ed
2 changed files with 2 additions and 0 deletions
|
|
@ -457,6 +457,7 @@ class _EscalationPolicy extends React.Component<EscalationPolicyProps, any> {
|
|||
return (
|
||||
<WithPermissionControlTooltip key="notify_to_team_members" userAction={UserActions.EscalationChainsWrite}>
|
||||
<GSelect<GrafanaTeam>
|
||||
showSearch
|
||||
disabled={isDisabled}
|
||||
items={grafanaTeamStore.items}
|
||||
fetchItemsFn={grafanaTeamStore.updateItems}
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ const ScheduleCommonFields = () => {
|
|||
render={({ field }) => (
|
||||
<Field label="Assign to team" invalid={!!errors.team} error={errors.team?.message}>
|
||||
<GSelect<GrafanaTeam>
|
||||
showSearch
|
||||
items={grafanaTeamStore.items}
|
||||
fetchItemsFn={grafanaTeamStore.updateItems}
|
||||
fetchItemFn={grafanaTeamStore.fetchItemById}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue