You've already forked AstralRinth
Affiliates frontend (#4380)
* Begin affiliates frontend * Significant work on hooking up affiliates ui * Clean up server nodes menu * affiliates work * update affiliate time * oops * fix local import * fix local import x2 * remove line in dashboard * lint
This commit is contained in:
@@ -58,6 +58,7 @@ const props = defineProps<{
|
||||
) => Promise<UpdatePaymentIntentResponse | CreatePaymentIntentResponse | null>
|
||||
onError: (err: Error) => void
|
||||
onFinalizeNoPaymentChange?: () => Promise<void>
|
||||
affiliateCode?: string | null
|
||||
}>()
|
||||
|
||||
const modal = useTemplateRef<InstanceType<typeof NewModal>>('modal')
|
||||
@@ -66,6 +67,7 @@ const selectedInterval = ref<ServerBillingInterval>('quarterly')
|
||||
const loading = ref(false)
|
||||
const selectedRegion = ref<string>()
|
||||
const projectId = ref<string>()
|
||||
const affiliateCode = ref(props.affiliateCode ?? null)
|
||||
|
||||
const {
|
||||
initializeStripe,
|
||||
@@ -96,6 +98,7 @@ const {
|
||||
projectId,
|
||||
props.initiatePayment,
|
||||
props.onError,
|
||||
affiliateCode,
|
||||
)
|
||||
|
||||
const customServer = ref<boolean>(false)
|
||||
|
||||
Reference in New Issue
Block a user