diff --git a/awx/ui_next/src/components/PaginatedTable/ActionsTd.jsx b/awx/ui_next/src/components/PaginatedTable/ActionsTd.jsx
index 58a718d765..7b6199d56f 100644
--- a/awx/ui_next/src/components/PaginatedTable/ActionsTd.jsx
+++ b/awx/ui_next/src/components/PaginatedTable/ActionsTd.jsx
@@ -17,7 +17,7 @@ const ActionsGrid = styled.div`
`;
export default function ActionsTd({ children }) {
- const numActions = children.length;
+ const numActions = children.length || 1;
const width = numActions * 40;
return (
{i18n._(t`Groups`)}
{i18n._(t`Hosts`)}
{i18n._(t`Sources`)}
+ {i18n._(t`Actions`)}
}
renderToolbar={props => (
diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx
index 6719851935..b641e66b7d 100644
--- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx
+++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.jsx
@@ -11,7 +11,7 @@ import { InventoriesAPI } from '../../../api';
import { Inventory } from '../../../types';
import { ActionsTd, ActionItem } from '../../../components/PaginatedTable';
import CopyButton from '../../../components/CopyButton';
-import SyncStatusIndicator from '../../../components/SyncStatusIndicator';
+import StatusLabel from '../../../components/StatusLabel';
function InventoryListItem({
inventory,
@@ -74,9 +74,7 @@ function InventoryListItem({
)}
|
- {inventory.kind !== 'smart' && (
-
- )}
+ {inventory.kind !== 'smart' && }
|
{inventory.kind === 'smart'
diff --git a/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx b/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx
index 2d542fe3fe..05d66f2ada 100644
--- a/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx
+++ b/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationList.jsx
@@ -156,6 +156,7 @@ function OrganizationsList({ i18n }) {
{i18n._(t`Name`)}
{i18n._(t`Members`)}
{i18n._(t`Teams`)}
+ {i18n._(t`Actions`)}
}
renderToolbar={props => (
diff --git a/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationListItem.jsx b/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationListItem.jsx
index 63ff176a1a..9bf440e165 100644
--- a/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationListItem.jsx
+++ b/awx/ui_next/src/screens/Organization/OrganizationList/OrganizationListItem.jsx
@@ -2,7 +2,7 @@ import React from 'react';
import { string, bool, func } from 'prop-types';
import { withI18n } from '@lingui/react';
import { t } from '@lingui/macro';
-import { Button, Tooltip } from '@patternfly/react-core';
+import { Button } from '@patternfly/react-core';
import { Tr, Td } from '@patternfly/react-table';
import { Link } from 'react-router-dom';
import { PencilAltIcon } from '@patternfly/react-icons';
|