mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 05:51:51 +08:00
Rolepicker: Fix remove query parameter not being used (#79629)
fix: query parameter not being used
This commit is contained in:
@ -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}`;
|
||||
|
Reference in New Issue
Block a user