From 03eb9bafb7fdc4e51d2dfeff4798912c4407588a Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Thu, 28 Jan 2021 14:28:08 -0800 Subject: [PATCH] add missing template list data; add ids to relevant page elements --- .../src/components/CopyButton/CopyButton.jsx | 4 ++- .../src/components/DetailList/Detail.jsx | 3 ++ .../src/components/JobList/JobList.jsx | 1 + .../ResourceAccessListItem.test.jsx.snap | 8 +++++ .../Template/TemplateList/TemplateList.jsx | 3 +- .../TemplateList/TemplateListItem.jsx | 32 +++++++++++++++---- 6 files changed, 43 insertions(+), 8 deletions(-) diff --git a/awx/ui_next/src/components/CopyButton/CopyButton.jsx b/awx/ui_next/src/components/CopyButton/CopyButton.jsx index fe4580f4bf..30927f22c5 100644 --- a/awx/ui_next/src/components/CopyButton/CopyButton.jsx +++ b/awx/ui_next/src/components/CopyButton/CopyButton.jsx @@ -10,12 +10,13 @@ import AlertModal from '../AlertModal'; import ErrorDetail from '../ErrorDetail'; function CopyButton({ - i18n, + id, copyItem, isDisabled, onCopyStart, onCopyFinish, helperText, + i18n, }) { const { isLoading, error: copyError, request: copyItemToAPI } = useRequest( copyItem @@ -34,6 +35,7 @@ function CopyButton({ <>