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,8 +1,9 @@
<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" />
</client-only>
</transition> </transition>
<ds-space v-if="success"> <ds-space v-if="success">
<ds-text> <ds-text>
@ -14,6 +15,7 @@
{{ $t(`settings.email.change-error.message`) }} {{ $t(`settings.email.change-error.message`) }}
</ds-text> </ds-text>
<ds-space class="message"> <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>
</client-only>
</ds-space> </ds-space>
</template> </template>
</client-only>
</ds-card> </ds-card>
</template> </template>