opnform/client/pages/subscriptions/error.vue

33 lines
653 B
Vue
Raw Normal View History

2023-12-09 14:47:03 +00:00
<template />
<script>
import { computed } from 'vue'
import { useAuthStore } from '../../stores/auth'
import SeoMeta from '../../mixins/seo-meta.js'
export default {
components: { },
layout: 'default',
middleware: 'auth',
mixins: [SeoMeta],
setup () {
const authStore = useAuthStore()
return {
authenticated : computed(() => authStore.check),
}
},
data: () => ({
metaTitle: 'Error',
}),
mounted () {
this.$router.push({ name: 'pricing' })
this.alertError('Unfortunately we could not confirm your subscription. Please try again and contact us if the issue persists.')
},
computed: {}
}
</script>