Skip to content

Commit

Permalink
Fix edit view error when category name is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
MinSeungHyun committed Jan 8, 2024
1 parent cdf5dd1 commit 26679a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/umoh/edit/space-edit.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,9 @@ export class SpaceEditView implements ViewBuilder {
};
blocks.push(
Block.SectionWithOverflow({
text: categoryItem.localizedNames.map(({ text }) => text).join(' | '),
text:
categoryItem.localizedNames.map(({ text }) => text).join(' | ') ||
' ',
options: [
{
text: ':large_blue_circle: Edit',
Expand Down

0 comments on commit 26679a9

Please sign in to comment.