Files
vuefilemanager/resources/js/components/Subscription/UserEmptySubscription.vue
2022-01-03 16:18:36 +01:00

23 lines
483 B
Vue

<template>
<div v-if="! hasSubscription" class="card shadow-card">
<InfoBox style="margin-bottom: 0">
<p>{{ $t("You don't have any subscription") }}</p>
</InfoBox>
</div>
</template>
<script>
import InfoBox from '/resources/js/components/Others/Forms/InfoBox'
export default {
name: 'UserEmptySubscription',
components: {
InfoBox
},
computed: {
hasSubscription() {
return this.$store.getters.user.data.relationships.subscription
},
},
}
</script>