diff --git a/frontend/src/components/ChannelList.tsx b/frontend/src/components/ChannelList.tsx index 75319fe5..7df96c8e 100644 --- a/frontend/src/components/ChannelList.tsx +++ b/frontend/src/components/ChannelList.tsx @@ -7,6 +7,7 @@ import FormattedNumber from './FormattedNumber'; import Button from './Button'; import ChannelIcon from './ChannelIcon'; import ChannelBanner from './ChannelBanner'; +import LoadingIndicator from './LoadingIndicator'; import { useUserConfigStore } from '../stores/UserConfigStore'; type ChannelListProps = { @@ -18,8 +19,11 @@ const ChannelList = ({ channelList, refreshChannelList }: ChannelListProps) => { const { userConfig } = useUserConfigStore(); const viewStyle = userConfig.view_style_channel; - if (!channelList || channelList.length === 0) { - return
No channels found.
; + if (!channelList) { + returnNo playlists found.
; + if (!playlistList) { + returnNo videos found.
; + if (!videoList) { + return- Try going to the downloads page to start the - scan and download tasks. -
- > - )} -+ Try going to the downloads page to start the scan + and download tasks. +
+ )}- If you've already added a channel or playlist, try going to the{' '} - downloads page to start the scan and download - tasks. -
- > - )} - - {hasVideos && ( -+ If you've already added a channel or playlist, try going to the{' '} + downloads page to start the scan and download + tasks. +
)}Try going to the home page to add videos to this playlist.
)} - {!isCustomPlaylist && (
Try going to the downloads page to start the
@@ -367,15 +372,6 @@ const Playlist = () => {
)}
>
)}
- {videoInPlaylistCount !== 0 && (
-