From 3f3df6ad0ff5fd0718c46a1dde60d51bf126941e Mon Sep 17 00:00:00 2001 From: Khac Vy Date: Thu, 20 Aug 2020 13:39:42 +0700 Subject: [PATCH] chore: #2385 update condition typo --- .../pages/settings/settings-organisation-tab/members.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/developer-portal/src/components/pages/settings/settings-organisation-tab/members.tsx b/packages/developer-portal/src/components/pages/settings/settings-organisation-tab/members.tsx index d3f4a24404..dd6e9952e1 100644 --- a/packages/developer-portal/src/components/pages/settings/settings-organisation-tab/members.tsx +++ b/packages/developer-portal/src/components/pages/settings/settings-organisation-tab/members.tsx @@ -54,7 +54,7 @@ export const prepareData = ( className={styles.hyperlinked} onClick={openDisableMemberModal(setSelectedUser, setEditStatusModalVisible, user)} > - {user.status !== 'active' ? 'Disable' : 'Invite Again'} + {user.status === 'inactive' ? 'Invite Again' : 'Disable'} {ableToSetAdmin && (