Skip to content

Commit

Permalink
fix(issue-details): Fix tags preview if no tags (#83069)
Browse files Browse the repository at this point in the history
this pr fixes a bug where we showed a preview of nothing instead of
showing nothing if there are no tags.
  • Loading branch information
roggenkemper authored Jan 8, 2025
1 parent 16ef944 commit 6830f87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function IssueTagsPreview({
);
}

if (isError || !tagsToPreview || searchQuery) {
if (isError || !tagsToPreview || searchQuery || tagsToPreview.length === 0) {
return null;
}

Expand Down

0 comments on commit 6830f87

Please sign in to comment.