Skip to content

Commit

Permalink
fix: for extra padding in options list
Browse files Browse the repository at this point in the history
  • Loading branch information
kubabutkiewicz committed Feb 1, 2024
1 parent 9d4c634 commit 7294e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ function getTagListSections(tags: Tag[], recentlyUsedTags: string[], selectedOpt
.map((tag) => ({name: tag, enabled: true}));
const filteredTags = enabledTags.filter((tag) => !selectedOptionNames.includes(tag.name));

if (selectedOptions) {
if (selectedOptions.length) {
const selectedTagOptions = selectedOptions.map((option) => {
const tagObject = tags.find((tag) => tag.name === option.name);
return {
Expand Down

0 comments on commit 7294e7b

Please sign in to comment.