2020-07-18 21:39:30 +02:00
|
|
|
<template>
|
|
|
|
<div class="legal-links">
|
2021-06-24 01:24:57 +02:00
|
|
|
<a :href="imprintUrl" target="_blank" v-if="imprintUrl">{{ $t('navigation.imprint') }}</a>
|
2020-07-18 21:39:30 +02:00
|
|
|
<span v-if="imprintUrl && privacyPolicyUrl"> | </span>
|
2021-06-24 01:24:57 +02:00
|
|
|
<a :href="privacyPolicyUrl" target="_blank" v-if="privacyPolicyUrl">{{ $t('navigation.privacy') }}</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>
|