From 891c72a0b4d4b94d0664cd83c8a6b4fb19d220fd Mon Sep 17 00:00:00 2001 From: Kellie Selinka <> Date: Thu, 10 Dec 2020 15:15:04 -0500 Subject: [PATCH] fix capitalization on invite learners button and make sure the zero state messaging doesn't display when a search is made --- src/components/subscriptions/AddUsersButton.jsx | 4 ++-- .../subscriptions/SubscriptionManagementPage.test.jsx | 1 + src/components/subscriptions/TabContentTable.jsx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/subscriptions/AddUsersButton.jsx b/src/components/subscriptions/AddUsersButton.jsx index dd974c6086..6c86198611 100644 --- a/src/components/subscriptions/AddUsersButton.jsx +++ b/src/components/subscriptions/AddUsersButton.jsx @@ -10,7 +10,7 @@ const AddUsersButton = ({ onClose, }) => ( ( @@ -20,7 +20,7 @@ const AddUsersButton = ({ details, }) => ( - {activeTab === TAB_ALL_USERS && tableData?.length === 0 ? ( + {activeTab === TAB_ALL_USERS && tableData?.length === 0 && !searchQuery ? ( ) : ( <>