mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
set data-test attribute in forgot password page avoiding v-if
This commit is contained in:
parent
d2665583b5
commit
e1bf7b20f4
@ -24,20 +24,11 @@
|
||||
</b-container>
|
||||
<b-container v-else>
|
||||
<message
|
||||
v-if="success"
|
||||
:headline="$t('message.title')"
|
||||
:subtitle="$t('message.email')"
|
||||
:headline="success ? $t('message.title') : $t('message.errorTitle')"
|
||||
:subtitle="success ? $t('message.email') : $t('error.email-already-sent')"
|
||||
:data-test="success ? forgot-password-success : forgot-password-error"
|
||||
:buttonText="$t('login')"
|
||||
linkTo="/login"
|
||||
data-test="forgot-password-success"
|
||||
/>
|
||||
<message
|
||||
v-else
|
||||
:headline="$t('message.errorTitle')"
|
||||
:subtitle="$t('error.email-already-sent')"
|
||||
:buttonText="$t('login')"
|
||||
linkTo="/login"
|
||||
data-test="forgot-password-error"
|
||||
/>
|
||||
</b-container>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user