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

31 lines
598 B
Vue
Raw Normal View History

2020-07-27 17:53:19 +00:00
<template>
2024-02-07 11:18:19 +00:00
<Message variant="danger">
<i18n-t
keypath="loadingError.failed"
scope="global"
>
<ButtonLink @click="reload">
{{ $t('loadingError.tryAgain') }}
</ButtonLink>
<ButtonLink href="https://vikunja.io/contact/">
{{ $t('loadingError.contact') }}
</ButtonLink>
2021-08-20 13:38:16 +00:00
</i18n-t>
2024-02-07 11:18:19 +00:00
</Message>
2020-07-27 17:53:19 +00:00
</template>
2022-10-10 19:44:59 +00:00
<script lang="ts">
export default {
inheritAttrs: false,
}
</script>
<script lang="ts" setup>
import Message from '@/components/misc/message.vue'
import ButtonLink from '@/components/misc/ButtonLink.vue'
function reload() {
window.location.reload()
}
2020-07-27 17:53:19 +00:00
</script>