Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
fix(cloud): prefer refreshed purchase method in portal
Timothy Yine99343125b79
diff --git a/apps/cloud/app/components/CloudPricing.vue b/apps/cloud/app/components/CloudPricing.vueindex 4407b297..59b0700a 100644--- a/apps/cloud/app/components/CloudPricing.vue+++ b/apps/cloud/app/components/CloudPricing.vue@@ -73,8 +73,9 @@ const payment = computed(() => payments?.data.value),paymentError = ref('')const redeemOnly = computed(() =>- data.value?.purchaseMethod === 'activation_code' ||- (props.portal && payment.value?.purchaseMethod === 'activation_code'),+ (props.portal+ ? (payment.value?.purchaseMethod ?? data.value?.purchaseMethod)+ : data.value?.purchaseMethod) === 'activation_code',)let mounted = trueonBeforeUnmount(() => {