mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02: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:
@@ -1,6 +1,6 @@
|
|||||||
import React, { useCallback, useEffect, useState } from 'react';
|
import React, { useCallback, useEffect, useState } from 'react';
|
||||||
import { useHistory, useParams } from 'react-router-dom';
|
import { useHistory, useParams } from 'react-router-dom';
|
||||||
import { object } from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { CardBody } from '../../../components/Card';
|
import { CardBody } from '../../../components/Card';
|
||||||
import {
|
import {
|
||||||
CredentialsAPI,
|
CredentialsAPI,
|
||||||
@@ -197,8 +197,8 @@ function CredentialEdit({ credential }) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
CredentialEdit.proptype = {
|
CredentialEdit.propTypes = {
|
||||||
inventory: object.isRequired,
|
credential: PropTypes.objectOf(PropTypes.object).isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
export { CredentialEdit as _CredentialEdit };
|
export { CredentialEdit as _CredentialEdit };
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ function TeamRolesList({ i18n, me, team }) {
|
|||||||
const {
|
const {
|
||||||
isLoading,
|
isLoading,
|
||||||
request: fetchRoles,
|
request: fetchRoles,
|
||||||
contentError,
|
error: contentError,
|
||||||
result: {
|
result: {
|
||||||
roleCount,
|
roleCount,
|
||||||
roles,
|
roles,
|
||||||
|
|||||||
Reference in New Issue
Block a user