2023-01-31 16:26:35 +01:00

27 lines
705 B
Vue

<template>
<div class="redeem-valid">
<redeem-information v-bind="linkData" :isContributionLink="isContributionLink" />
<b-jumbotron>
<div class="mb-3 text-center">
<b-button variant="gradido" @click="$emit('mutation-link', linkData.amount)" size="lg">
{{ $t('gdd_per_link.redeem') }}
</b-button>
</div>
</b-jumbotron>
</div>
</template>
<script>
import RedeemInformation from '@/components/LinkInformations/RedeemInformation.vue'
export default {
name: 'RedeemValid',
components: {
RedeemInformation,
},
props: {
linkData: { type: Object, required: true },
isContributionLink: { type: Boolean, default: false },
},
}
</script>