Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/frontend/src/pages/settings/billing/charges.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<div class="flex flex-col gap-1">
<div class="flex items-center gap-1">
<span class="font-bold text-primary">
<template v-if="charge.product.metadata.type === 'midas'"> Modrinth Plus </template>
<template v-else-if="charge.product.metadata.type === 'pyro'">
<template v-if="charge.product?.metadata?.type === 'midas'"> Modrinth Plus </template>
<template v-else-if="charge.product?.metadata?.type === 'pyro'">
Modrinth Servers
</template>
<template v-else> Unknown product </template>
<template v-else> Medal Server Trial </template>
<template v-if="charge.subscription_interval">
{{ charge.subscription_interval }}
</template>
Expand Down