fix playlist desc null type render
This commit is contained in:
parent
cd55ae87fa
commit
44c33f02a1
|
|
@ -12,7 +12,7 @@ export type PlaylistType = {
|
|||
playlist_active: boolean;
|
||||
playlist_channel: string;
|
||||
playlist_channel_id: string;
|
||||
playlist_description: string;
|
||||
playlist_description: string | null;
|
||||
playlist_entries: PlaylistEntryType[];
|
||||
playlist_sort_order: 'top' | 'bottom';
|
||||
playlist_id: string;
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ const Playlist = () => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{playlist.playlist_description !== 'False' && (
|
||||
{playlist.playlist_description !== null && (
|
||||
<div className="description-box">
|
||||
<p
|
||||
id={descriptionExpanded ? 'text-expand-expanded' : 'text-expand'}
|
||||
|
|
|
|||
Loading…
Reference in New Issue