Show at least the error message in SSR

This commit is contained in:
roschaefer 2019-09-28 00:34:22 +02:00
parent 3e3452c7bc
commit 573edce788

View File

@ -1,19 +1,21 @@
<template> <template>
<ds-card> <ds-card>
<client-only> <transition name="ds-transition-fade">
<transition name="ds-transition-fade"> <client-only>
<sweetalert-icon :icon="sweetAlertIcon" /> <sweetalert-icon :icon="sweetAlertIcon" />
</transition> </client-only>
<ds-space v-if="success"> </transition>
<ds-text> <ds-space v-if="success">
{{ $t(`settings.email.change-successful`) }} <ds-text>
</ds-text> {{ $t(`settings.email.change-successful`) }}
</ds-space> </ds-text>
<template v-else> </ds-space>
<ds-text bold align="center"> <template v-else>
{{ $t(`settings.email.change-error.message`) }} <ds-text bold align="center">
</ds-text> {{ $t(`settings.email.change-error.message`) }}
<ds-space class="message"> </ds-text>
<ds-space class="message">
<client-only>
<ds-text> <ds-text>
<ds-space margin-top="large" margin-bottom="small"> <ds-space margin-top="large" margin-bottom="small">
{{ $t(`settings.email.change-error.explanation`) }} {{ $t(`settings.email.change-error.explanation`) }}
@ -32,9 +34,9 @@
{{ $t('settings.email.change-error.support') }} {{ $t('settings.email.change-error.support') }}
<a href="mailto:support@human-connection.org">support@human-connection.org</a> <a href="mailto:support@human-connection.org">support@human-connection.org</a>
</ds-text> </ds-text>
</ds-space> </client-only>
</template> </ds-space>
</client-only> </template>
</ds-card> </ds-card>
</template> </template>