diff --git a/src/components/blocking/ChannelSubscriptionScreen.tsx b/src/components/blocking/ChannelSubscriptionScreen.tsx index d6d45ce..88a2cfe 100644 --- a/src/components/blocking/ChannelSubscriptionScreen.tsx +++ b/src/components/blocking/ChannelSubscriptionScreen.tsx @@ -43,7 +43,8 @@ export default function ChannelSubscriptionScreen() { return () => clearInterval(timer); }, [cooldown]); - const channels = channelInfo?.channels ?? []; + const allChannels = channelInfo?.channels ?? []; + const channels = allChannels.filter((ch) => !ch.is_subscribed); const checkSubscription = useCallback(async () => { if (isCheckingRef.current) return; @@ -88,35 +89,23 @@ export default function ChannelSubscriptionScreen() { {channelInfo?.message || t('blocking.channel.defaultMessage')}
+ {t('admin.channelSubscriptions.editing')}:{' '} + {channel.channel_id} +
{channel.channel_id}