diff --git a/web/src/components/TagList.tsx b/web/src/components/TagList.tsx index 7f10c5b1..2ad1c404 100644 --- a/web/src/components/TagList.tsx +++ b/web/src/components/TagList.tsx @@ -79,19 +79,23 @@ const TagList = () => { return (
- {t("common.tags")} - -
-
- {tags.map((t, idx) => ( - - ))} + showCreateTagDialog()}> + {t("common.tags")} +
+ {tags.length > 0 ? ( +
+ {tags.map((t, idx) => ( + + ))} +
+ ) : ( +
+

+ You can create tags by inputting `#tag`. +

+
+ )}
); }; @@ -137,7 +141,7 @@ const TagItemContainer: React.FC = (props: TagItemContain return ( <> -
+