Skip to content

Commit

Permalink
Fix No playlists found for query indicator on blank query
Browse files Browse the repository at this point in the history
  • Loading branch information
Bergbok committed Sep 28, 2024
1 parent dc0ddad commit c0be8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CustomApps/playlist-tags/src/funcs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ export function renderPlaylists(playlist_data: PlaylistMetadata[], sorting_optio
`}
</style>
{is_loading ? (<h1 className='loading-text'>Loading...</h1>) : (
filter_query !== '' && playlist_data.length === 0 ? (<h1 className='loading-text'>No playlists found for query</h1>) :
/\S/.test(filter_query) && playlist_data.length === 0 ? (<h1 className='loading-text'>No playlists found for query</h1>) :
<div className='card-wrapper'>
{
playlist_data.map((playlist: PlaylistMetadata) => (
Expand Down

0 comments on commit c0be8f1

Please sign in to comment.