Skip to content

Commit 75040ff

Browse files
GVodyanovst3iny
andauthored
Update src/components/Thread.vue
Co-authored-by: Richard Steinmetz <[email protected]> Signed-off-by: Grigory Vodyanov <[email protected]>
1 parent 4acceae commit 75040ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/Thread.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,8 @@ export default {
312312
this.error = t('mail', 'Could not load your message thread')
313313
this.errorMessage = t('mail', 'The thread doesn\'t exist or has been deleted')
314314
this.loading = false
315-
} if (error?.response?.status === 500) {
316-
this.error = t('mail', 'Email was not able to be opened')
317-
this.errorMessage = t('mail', 'Email was not able to be opened')
315+
} else if (error?.response?.status === 500) {
316+
this.error = { message: t('mail', 'Email was not able to be opened') }
318317
this.loading = false
319318
} else {
320319
this.errorMessage = t('mail', 'Could not load your message thread')

0 commit comments

Comments
 (0)