opnform-host-nginx/client/pages/subscriptions/error.vue

35 lines
619 B
Vue
Raw Normal View History

2023-12-09 15:47:03 +01:00
<template />
<script>
import { computed } from "vue"
import { useAuthStore } from "../../stores/auth"
2023-12-09 15:47:03 +01:00
export default {
components: {},
layout: "default",
middleware: "auth",
2023-12-09 15:47:03 +01:00
setup() {
useOpnSeoMeta({
title: "Error",
})
2023-12-09 15:47:03 +01:00
const authStore = useAuthStore()
return {
authenticated: computed(() => authStore.check),
2023-12-09 15:47:03 +01:00
}
},
data: () => ({}),
2023-12-09 15:47:03 +01:00
computed: {},
2023-12-09 15:47:03 +01:00
mounted() {
this.$router.push({ name: "pricing" })
useAlert().error(
"Unfortunately we could not confirm your subscription. Please try again and contact us if the issue persists.",
)
},
2023-12-09 15:47:03 +01:00
}
</script>