From 52c1912be4efde678762946a115b43ad52877d5b Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 9 Aug 2021 15:03:43 +0530 Subject: [PATCH] change(ui) - text changes --- .../app/components/Client/ManageUsers/ManageUsers.js | 2 +- .../app/components/ForgotPassword/ForgotPassword.js | 11 ++++++----- .../components/SelectorCard/SelectorCard.tsx | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/frontend/app/components/Client/ManageUsers/ManageUsers.js b/frontend/app/components/Client/ManageUsers/ManageUsers.js index b0dfd32e9..6d291ed1d 100644 --- a/frontend/app/components/Client/ManageUsers/ManageUsers.js +++ b/frontend/app/components/Client/ManageUsers/ManageUsers.js @@ -103,7 +103,7 @@ class ManageUsers extends React.PureComponent { { !account.smtp &&
- SMTP is not configured. Please follow these steps to set it up. + SMTP is not configured. Please follow (see here how to set it up). You can still add new users, but you’d have to manually copy then send them the invitation link.
}
diff --git a/frontend/app/components/ForgotPassword/ForgotPassword.js b/frontend/app/components/ForgotPassword/ForgotPassword.js index 6c4b0d476..d117afd6a 100644 --- a/frontend/app/components/ForgotPassword/ForgotPassword.js +++ b/frontend/app/components/ForgotPassword/ForgotPassword.js @@ -22,7 +22,7 @@ const checkDontMatch = (newPassword, newPasswordRepeat) => (state, props) => ({ errors: state.getIn([ 'user', 'requestResetPassowrd', 'errors' ]), resetErrors: state.getIn([ 'user', 'resetPassword', 'errors' ]), - loading: state.getIn([ 'user', 'requestResetPassowrd', 'loading' ]), + loading: state.getIn([ 'user', 'requestResetPassowrd', 'loading' ]) || state.getIn([ 'user', 'resetPassword', 'loading' ]), params: new URLSearchParams(props.location.search) }), { requestResetPassword, resetPassword }, @@ -111,7 +111,7 @@ export default class ForgotPassword extends React.PureComponent {
-

Reset Password

+

{`${resetting ? 'Create' : 'Reset'} Password`}

@@ -168,7 +168,7 @@ export default class ForgotPassword extends React.PureComponent { - { 'Reset' } + { resetting ? 'Create' : 'Reset' }
diff --git a/frontend/app/components/Session_/PageInsightsPanel/components/SelectorCard/SelectorCard.tsx b/frontend/app/components/Session_/PageInsightsPanel/components/SelectorCard/SelectorCard.tsx index 4e39b08e6..0899a8c79 100644 --- a/frontend/app/components/Session_/PageInsightsPanel/components/SelectorCard/SelectorCard.tsx +++ b/frontend/app/components/Session_/PageInsightsPanel/components/SelectorCard/SelectorCard.tsx @@ -12,8 +12,8 @@ interface Props { export default function SelectorCard({ index = 1, target, showContent } : Props) { return ( -
-
activeTarget(index)}> +
activeTarget(index)}> +
{index + 1}
{target.selector}