2020-07-18 21:39:30 +02:00
|
|
|
<template>
|
|
|
|
<div class="legal-links">
|
2020-09-05 22:35:52 +02:00
|
|
|
<a :href="imprintUrl" target="_blank" v-if="imprintUrl">Imprint</a>
|
2020-07-18 21:39:30 +02:00
|
|
|
<span v-if="imprintUrl && privacyPolicyUrl"> | </span>
|
2020-09-05 22:35:52 +02:00
|
|
|
<a :href="privacyPolicyUrl" target="_blank" v-if="privacyPolicyUrl">Privacy policy</a>
|
2020-07-18 21:39:30 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-09-05 22:35:52 +02:00
|
|
|
import {mapState} from 'vuex'
|
2020-07-18 21:39:30 +02:00
|
|
|
|
2020-09-05 22:35:52 +02:00
|
|
|
export default {
|
|
|
|
name: 'legal',
|
|
|
|
computed: mapState({
|
|
|
|
imprintUrl: state => state.config.legal.imprintUrl,
|
|
|
|
privacyPolicyUrl: state => state.config.legal.privacyPolicyUrl,
|
|
|
|
}),
|
|
|
|
}
|
2020-07-18 21:39:30 +02:00
|
|
|
</script>
|