ServiceAccounts: lowercase edit url (#46517)

pull/46124/head
Jguer 3 years ago committed by GitHub
parent cf9f76319a
commit e512029afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/serviceaccounts/ServiceAccountsListPage.tsx

@ -181,7 +181,7 @@ const getServiceAccountsEnabledStatus = (disabled: boolean) => {
const ServiceAccountListItem = memo(
({ serviceAccount, onRoleChange, roleOptions, builtInRoles, onSetToRemove }: ServiceAccountListItemProps) => {
const editUrl = `org/serviceAccounts/${serviceAccount.id}`;
const editUrl = `org/serviceaccounts/${serviceAccount.id}`;
const styles = useStyles2(getStyles);
const canUpdateRole = contextSrv.hasPermissionInMetadata(AccessControlAction.ServiceAccountsWrite, serviceAccount);
const rolePickerDisabled = !canUpdateRole;

Loading…
Cancel
Save