Wolfgang Huß aa454893ce Refactor pageParams, third step
- Implement emails.js in backend as well.
- Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
2021-08-05 14:44:54 +02:00

24 lines
460 B
Vue

<template>
<internal-page :pageParams="links.DONATE" />
</template>
<script>
import links from '~/constants/links.js'
import InternalPage from '~/components/_new/features/InternalPage/InternalPage.vue'
export default {
layout: 'basic',
components: {
InternalPage,
},
data() {
return { links }
},
created() {
if (!this.links.DONATE.isInternalPage) {
window.location.href = this.links.DONATE.externalLink
}
},
}
</script>