diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 8b6b7e0..f470160 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -204,7 +204,11 @@ export default function App() { // of dumping the user on whatever tab they last left open. const [channelsViewRaw, setChannelsView] = useAccountPersistedState(LS.channelsView, "subscribed"); const channelsView: ChannelsView = - channelsViewRaw === "discovery" ? "discovery" : "subscribed"; + channelsViewRaw === "discovery" + ? "discovery" + : channelsViewRaw === "blocked" + ? "blocked" + : "subscribed"; // Plex module filters (its own left-sidebar filter section) — per-account persisted. // The former per-library picker is now a cross-library SCOPE: movie | show | both (unified library). // (Reuses the old LS.plexLibrary key; an old stored library-id value falls back to "both".) diff --git a/frontend/src/components/Channels.tsx b/frontend/src/components/Channels.tsx index 2ce7c8c..e1b2b58 100644 --- a/frontend/src/components/Channels.tsx +++ b/frontend/src/components/Channels.tsx @@ -31,7 +31,7 @@ import ChannelDiscovery from "./ChannelDiscovery"; import TagManager from "./TagManager"; import { useConfirm } from "./ConfirmProvider"; -export type ChannelsView = "subscribed" | "discovery"; +export type ChannelsView = "subscribed" | "discovery" | "blocked"; export type ChannelStatusFilter = "all" | "needs_full" | "fully_synced" | "hidden"; @@ -383,7 +383,7 @@ export default function Channels({ const tabs = (
{t("channels.blocked.empty")}
+ ) : ( + <> +{t("channels.blocked.hint")}
-{t("channels.blocked.hint")}
+ > + )} +