feat: make subscription a BaseButton

This commit is contained in:
Dominik Pschenitschni 2022-01-30 13:40:34 +01:00
parent 24b7821c50
commit 187e62a7ec
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -9,7 +9,7 @@
>
{{ buttonText }}
</x-button>
<a
<BaseButton
v-else
v-tooltip="tooltipText"
@click="changeSubscription"
@ -19,13 +19,15 @@
<icon :icon="iconName"/>
</span>
{{ buttonText }}
</a>
</BaseButton>
</template>
<script lang="ts" setup>
import {computed, shallowRef} from 'vue'
import {useI18n} from 'vue-i18n'
import BaseButton from '@/components/base/BaseButton.vue'
import SubscriptionService from '@/services/subscription'
import SubscriptionModel from '@/models/subscription'