From d373cbdca94b38ec400dbd9a48409f0ae9eff01a Mon Sep 17 00:00:00 2001 From: nixocio Date: Sat, 25 Jul 2020 15:32:38 -0400 Subject: [PATCH] Update delete button variant to secondary Update delete button variant to secondary, except in Modals. see: https://github.com/ansible/awx/issues/7722 --- awx/ui_next/src/components/DeleteButton/DeleteButton.jsx | 2 +- .../components/PaginatedDataList/ToolbarDeleteButton.jsx | 2 +- .../__snapshots__/ToolbarDeleteButton.test.jsx.snap | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui_next/src/components/DeleteButton/DeleteButton.jsx b/awx/ui_next/src/components/DeleteButton/DeleteButton.jsx index 383d5fab97..19e499952d 100644 --- a/awx/ui_next/src/components/DeleteButton/DeleteButton.jsx +++ b/awx/ui_next/src/components/DeleteButton/DeleteButton.jsx @@ -18,7 +18,7 @@ function DeleteButton({ return ( <> @@ -92,12 +92,12 @@ exports[` should render button 1`] = ` aria-label="Delete" isDisabled={true} onClick={[Function]} - variant="danger" + variant="secondary" >