Show error label if subscription is expired

This commit is contained in:
Johannes Zellner
2025-11-27 23:34:25 +01:00
parent 0e4a389910
commit 924ea435b1
2 changed files with 8 additions and 3 deletions
+6 -2
View File
@@ -127,8 +127,12 @@ onUnmounted(() => {
</div>
<div class="info-row">
<div class="info-label">{{ $t('settings.appstoreAccount.subscription') }} <span v-if="cancelAt" class="error-label">{{ $t('settings.appstoreAccount.subscriptionEndsAt') }} {{ prettyLongDate(cancelAt*1000) }}</span></div>
<div class="info-value">{{ planName }}</div>
<div class="info-label">{{ $t('settings.appstoreAccount.subscription') }}</div>
<div class="info-value">
<span v-if="cancelAt" class="error-label">{{ $t('settings.appstoreAccount.subscriptionEndsAt') }} {{ prettyLongDate(cancelAt*1000) }}</span>
<span v-else-if="status === 'past_due'" class="error-label">{{ $t('settings.appstoreAccount.expired') }}</span>
{{ planName }}
</div>
</div>
<div class="button-bar" style="margin-top: 20px">