diff --git a/.changeset/ninety-hats-kiss.md b/.changeset/ninety-hats-kiss.md new file mode 100644 index 0000000000..ff5ec770f7 --- /dev/null +++ b/.changeset/ninety-hats-kiss.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-playlist': patch +--- + +Conditionally render playlist description only when it's non-empty diff --git a/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx b/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx index 1408607133..8b52bcc1de 100644 --- a/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx +++ b/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx @@ -106,7 +106,9 @@ export const PlaylistCard = ({ playlist }: PlaylistCardProps) => { Description - + {playlist.description && ( + + )}