vikunja-frontend/src/components/misc/error.vue

20 lines
427 B
Vue
Raw Normal View History

2020-07-27 19:53:19 +02:00
<template>
<div class="notification is-danger">
2021-08-20 15:38:16 +02:00
<i18n-t keypath="loadingError.failed">
2021-11-02 19:29:35 +01: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 15:38:16 +02:00
</i18n-t>
2020-07-27 19:53:19 +02:00
</div>
</template>
<script>
export default {
name: 'error',
2021-11-02 19:29:35 +01:00
methods: {
reload() {
window.location.reload()
},
}
}
2020-07-27 19:53:19 +02:00
</script>