mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Rolepicker: Fix remove query parameter not being used (#79629)
fix: query parameter not being used
This commit is contained in:
parent
6d9c651b74
commit
03f39f2167
@ -3,7 +3,7 @@ import { Role } from 'app/types';
|
||||
|
||||
import { addDisplayNameForFixedRole } from './utils';
|
||||
|
||||
export const fetchRoleOptions = async (orgId?: number, query?: string): Promise<Role[]> => {
|
||||
export const fetchRoleOptions = async (orgId?: number): Promise<Role[]> => {
|
||||
let rolesUrl = '/api/access-control/roles?delegatable=true';
|
||||
if (orgId) {
|
||||
rolesUrl += `&targetOrgId=${orgId}`;
|
||||
|
Loading…
Reference in New Issue
Block a user