From 4963fda6b0967da7fb736023364e7e56c641950f Mon Sep 17 00:00:00 2001 From: aj Date: Wed, 5 Feb 2020 15:40:02 +0000 Subject: [PATCH] added count to tag card list, increased card title size --- src/js/Playlist/PlaylistsList.js | 2 +- src/js/Tag/TagList.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/js/Playlist/PlaylistsList.js b/src/js/Playlist/PlaylistsList.js index 5dc37a1..4565160 100644 --- a/src/js/Playlist/PlaylistsList.js +++ b/src/js/Playlist/PlaylistsList.js @@ -138,7 +138,7 @@ function PlaylistCard(props){ - + { props.playlist.name } diff --git a/src/js/Tag/TagList.js b/src/js/Tag/TagList.js index 999f51d..9b334a3 100644 --- a/src/js/Tag/TagList.js +++ b/src/js/Tag/TagList.js @@ -95,9 +95,14 @@ function TagCard(props){ - + { props.tag.name } + {'count' in props.tag && + + { props.tag.count } + + }