From e557b0157e174fa5c786cdd56ac6c66cb86bdd09 Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 9 Apr 2023 16:06:06 -0600 Subject: [PATCH] Hiding tag count on mobile. --- app/src/Tags.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/src/Tags.js b/app/src/Tags.js index 5d6dba9e..cd464356 100644 --- a/app/src/Tags.js +++ b/app/src/Tags.js @@ -149,13 +149,19 @@ function EditTagRow({tag, onDelete, onEdit}) { const nameLabel = ; + const countLabel = ; return {deleteConfirm} {editButton} {nameLabel} - + {(className, renderChildren) => { + return renderChildren ? + {countLabel} + + : null; + }} } @@ -247,7 +253,11 @@ function EditTagsModal() { Edit Tag - Count + {(className, renderChildren) => { + return renderChildren ? + Count + : null; + }}