Fix error message display

This commit is contained in:
Bubka 2020-11-04 22:42:54 +01:00
parent a8e5535d6b
commit e2b52526dd

View File

@ -19,7 +19,7 @@
<p>{{ $t('errors.error_occured') }}</p> <p>{{ $t('errors.error_occured') }}</p>
<p v-if="error" class="has-text-grey-lighter">{{ error.message }}</p> <p v-if="error" class="has-text-grey-lighter">{{ error.message }}</p>
<p><router-link :to="{ name: 'accounts' }" class="is-text">{{ $t('errors.refresh') }}</router-link></p> <p><router-link :to="{ name: 'accounts' }" class="is-text">{{ $t('errors.refresh') }}</router-link></p>
<p v-if="debugMode == 'development' && error"> <p v-if="debugMode == 'development' && error.debug">
<br> <br>
{{ error.debug }} {{ error.debug }}
</p> </p>
@ -57,9 +57,7 @@
} }
else else
{ {
return { return { 'message' : this.err }
statusText: this.err
}
} }
} }