Subscription UI refactoring

This commit is contained in:
Čarodej
2022-01-03 16:18:36 +01:00
parent 9d189b3d12
commit 09d8b84870
25 changed files with 1489 additions and 1575 deletions

View File

@@ -0,0 +1,23 @@
<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>