From 525ae60157ff4ea9f4de4db63e36b8313e2ad8af Mon Sep 17 00:00:00 2001 From: Nick Sandstrom <32273437+nick4810@users.noreply.github.com> Date: Tue, 27 Jan 2026 13:41:50 -0800 Subject: [PATCH] Removed functionality not implemented --- .../src/components/tables/StreamsTable.jsx | 2 -- frontend/src/store/logos.jsx | 3 --- frontend/src/store/useVODStore.jsx | 24 ------------------- 3 files changed, 29 deletions(-) diff --git a/frontend/src/components/tables/StreamsTable.jsx b/frontend/src/components/tables/StreamsTable.jsx index 21b13baf..c3b2f677 100644 --- a/frontend/src/components/tables/StreamsTable.jsx +++ b/frontend/src/components/tables/StreamsTable.jsx @@ -702,8 +702,6 @@ const StreamsTable = ({ onReady }) => { channel_profile_ids: channelProfileIds, }); await API.requeryChannels(); - const fetchLogos = useChannelsStore.getState().fetchLogos; - fetchLogos(); }; // Handle confirming the single channel numbering modal diff --git a/frontend/src/store/logos.jsx b/frontend/src/store/logos.jsx index 5e09cf02..f821c424 100644 --- a/frontend/src/store/logos.jsx +++ b/frontend/src/store/logos.jsx @@ -72,9 +72,6 @@ const useLogosStore = create((set, get) => ({ // Smart loading methods fetchLogos: async (pageSize = 100) => { - // Don't fetch if logo fetching is not allowed yet - if (!get().allowLogoFetching) return []; - set({ isLoading: true, error: null }); try { const response = await api.getLogos({ page_size: pageSize }); diff --git a/frontend/src/store/useVODStore.jsx b/frontend/src/store/useVODStore.jsx index defbfe17..0d8fe446 100644 --- a/frontend/src/store/useVODStore.jsx +++ b/frontend/src/store/useVODStore.jsx @@ -213,30 +213,6 @@ const useVODStore = create((set, get) => ({ } }, - fetchSeriesEpisodes: async (seriesId) => { - set({ loading: true, error: null }); - try { - const response = await api.getSeriesEpisodes(seriesId); - - set((state) => ({ - episodes: { - ...state.episodes, - ...response.reduce((acc, episode) => { - acc[episode.id] = episode; - return acc; - }, {}), - }, - loading: false, - })); - - return response; - } catch (error) { - console.error('Failed to fetch series episodes:', error); - set({ error: 'Failed to load episodes.', loading: false }); - throw error; // Re-throw to allow calling component to handle - } - }, - fetchMovieDetails: async (movieId) => { set({ loading: true, error: null }); try {