Skip to content

Commit

Permalink
fix: description에 빈 문자열이 포함될 경우 rendering 하지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mini-xi committed Jul 4, 2024
1 parent f284043 commit f0d6894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CategorySelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default {
this.categories
.filter(c => c.second_category === this.selectedSecondCategory && c.last_category === this.selectedLastCategory)
.map(c => c.description)
.filter(description => description && description.trim() !== "")
)];
}
},
Expand Down

0 comments on commit f0d6894

Please sign in to comment.