
Add ButtonLink component to fix occasions where the BaseButton needs to be styled in a link color.
18 lines
485 B
Vue
18 lines
485 B
Vue
<template>
|
|
<message variant="danger">
|
|
<i18n-t keypath="loadingError.failed">
|
|
<ButtonLink @click="reload">{{ $t('loadingError.tryAgain') }}</ButtonLink>
|
|
<ButtonLink href="https://vikunja.io/contact/">{{ $t('loadingError.contact') }}</ButtonLink>
|
|
</i18n-t>
|
|
</message>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import Message from '@/components/misc/message.vue'
|
|
import ButtonLink from '@/components/misc/ButtonLink.vue'
|
|
|
|
function reload() {
|
|
window.location.reload()
|
|
}
|
|
</script>
|