mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #9699 from nixocio/ui_small_fixes
Small UI updates Small UI updates Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
commit
d286a77010
@ -1,6 +1,6 @@
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import { useHistory, useParams } from 'react-router-dom';
|
||||
import { object } from 'prop-types';
|
||||
import PropTypes from 'prop-types';
|
||||
import { CardBody } from '../../../components/Card';
|
||||
import {
|
||||
CredentialsAPI,
|
||||
@ -197,8 +197,8 @@ function CredentialEdit({ credential }) {
|
||||
);
|
||||
}
|
||||
|
||||
CredentialEdit.proptype = {
|
||||
inventory: object.isRequired,
|
||||
CredentialEdit.propTypes = {
|
||||
credential: PropTypes.objectOf(PropTypes.object).isRequired,
|
||||
};
|
||||
|
||||
export { CredentialEdit as _CredentialEdit };
|
||||
|
||||
@ -35,7 +35,7 @@ function TeamRolesList({ i18n, me, team }) {
|
||||
const {
|
||||
isLoading,
|
||||
request: fetchRoles,
|
||||
contentError,
|
||||
error: contentError,
|
||||
result: {
|
||||
roleCount,
|
||||
roles,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user