Remove account type badge from modals.

This commit is contained in:
SergeantPanda 2025-09-11 10:43:22 -05:00
parent 307bd25e3e
commit 6cc67851b3
2 changed files with 0 additions and 28 deletions

View file

@ -503,26 +503,12 @@ const SeriesModal = ({ series, opened, onClose }) => {
<Badge color="blue" variant="light">
{displaySeries.m3u_account.name}
</Badge>
{displaySeries.m3u_account.account_type && (
<Badge color="gray" variant="outline" size="xs">
{displaySeries.m3u_account.account_type === 'XC'
? 'Xtream Codes'
: 'Standard M3U'}
</Badge>
)}
</Group>
) : providers.length === 1 ? (
<Group spacing="md">
<Badge color="blue" variant="light">
{providers[0].m3u_account.name}
</Badge>
{providers[0].m3u_account.account_type && (
<Badge color="gray" variant="outline" size="xs">
{providers[0].m3u_account.account_type === 'XC'
? 'Xtream Codes'
: 'Standard M3U'}
</Badge>
)}
{providers[0].stream_id && (
<Badge color="orange" variant="outline" size="xs">
Stream {providers[0].stream_id}

View file

@ -490,13 +490,6 @@ const VODModal = ({ vod, opened, onClose }) => {
<Badge color="blue" variant="light">
{providers[0].m3u_account.name}
</Badge>
{providers[0].m3u_account.account_type && (
<Badge color="gray" variant="outline" size="xs">
{providers[0].m3u_account.account_type === 'XC'
? 'Xtream Codes'
: 'Standard M3U'}
</Badge>
)}
{providers[0].stream_id && (
<Badge color="orange" variant="outline" size="xs">
Stream {providers[0].stream_id}
@ -536,13 +529,6 @@ const VODModal = ({ vod, opened, onClose }) => {
<Badge color="blue" variant="light">
{vod.m3u_account.name}
</Badge>
{vod.m3u_account.account_type && (
<Badge color="gray" variant="outline" size="xs">
{vod.m3u_account.account_type === 'XC'
? 'Xtream Codes'
: 'Standard M3U'}
</Badge>
)}
</Group>
</Box>
)}