This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/components/misc/error.vue

23 lines
495 B
Vue
Raw Normal View History

2020-07-27 17:53:19 +00:00
<template>
<message variant="danger">
2021-08-20 13:38:16 +00:00
<i18n-t keypath="loadingError.failed">
2021-11-02 18:29:35 +00:00
<a @click="reload">{{ $t('loadingError.tryAgain') }}</a>
<a href="https://vikunja.io/contact/" rel="noreferrer noopener nofollow" target="_blank">{{ $t('loadingError.contact') }}</a>
2021-08-20 13:38:16 +00:00
</i18n-t>
</message>
2020-07-27 17:53:19 +00:00
</template>
<script>
import Message from '@/components/misc/message'
export default {
name: 'error',
components: {Message},
2021-11-02 18:29:35 +00:00
methods: {
reload() {
window.location.reload()
},
2021-11-02 18:56:53 +00:00
},
}
2020-07-27 17:53:19 +00:00
</script>