mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #15296 from overleaf/jdt-reword-send
Update wording in make primary email action GitOrigin-RevId: df82ebcbec2ea101182f154673fd1c0fb4acbeaa
This commit is contained in:
committed by
Copybot
parent
a45e6a3e09
commit
3eac9df104
@@ -82,7 +82,9 @@ function MakePrimary({ userEmailData, makePrimaryAsync }: MakePrimaryProps) {
|
||||
return (
|
||||
<>
|
||||
{makePrimaryAsync.isLoading ? (
|
||||
<PrimaryButton disabled>{t('sending')}...</PrimaryButton>
|
||||
<PrimaryButton disabled>
|
||||
{t('processing_uppercase')}…
|
||||
</PrimaryButton>
|
||||
) : (
|
||||
<Tooltip
|
||||
id={`make-primary-${userEmailData.email}`}
|
||||
|
||||
@@ -37,7 +37,7 @@ function ResendConfirmationEmailButton({
|
||||
if (isLoading) {
|
||||
return (
|
||||
<>
|
||||
<Icon type="refresh" spin fw /> {t('sending')}...
|
||||
<Icon type="refresh" spin fw /> {t('sending')}…
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ describe('email actions - make primary', function () {
|
||||
expect(screen.queryByRole('dialog')).to.be.null
|
||||
|
||||
await waitForElementToBeRemoved(() =>
|
||||
screen.getByRole('button', { name: /sending/i, hidden: true })
|
||||
screen.getByRole('button', { name: /Processing/i, hidden: true })
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user