diff --git a/frontend/src/scenes/settings/organization/VerifiedDomains/VerifiedDomains.tsx b/frontend/src/scenes/settings/organization/VerifiedDomains/VerifiedDomains.tsx index c9daa0c34ad9e..f4317a113f2df 100644 --- a/frontend/src/scenes/settings/organization/VerifiedDomains/VerifiedDomains.tsx +++ b/frontend/src/scenes/settings/organization/VerifiedDomains/VerifiedDomains.tsx @@ -196,23 +196,39 @@ function VerifiedDomainsTable(): JSX.Element { ) }, }, + { + key: 'verify', + width: 32, + align: 'center', + render: function RenderActions(_, { is_verified, id }) { + return is_verified ? ( + <> + ) : ( + setVerifyModal(id)}> + Verify + + ) + }, + }, { key: 'actions', width: 32, align: 'center', render: function RenderActions(_, { is_verified, id, domain }) { - return is_verified ? ( + return ( - setConfigureSAMLModalId(id)} - fullWidth - disabled={!isSAMLAvailable} - title={isSAMLAvailable ? undefined : 'Upgrade to enable SAML'} - > - Configure SAML - + {is_verified && ( + setConfigureSAMLModalId(id)} + fullWidth + disabled={!isSAMLAvailable} + title={isSAMLAvailable ? undefined : 'Upgrade to enable SAML'} + > + Configure SAML + + )} @@ -231,16 +247,13 @@ function VerifiedDomainsTable(): JSX.Element { }) } fullWidth + icon={} > - Remove domain + Remove domain } /> - ) : ( - setVerifyModal(id)}> - Verify - ) }, },