-
-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: empty group title for board view #477
fix: empty group title for board view #477
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<EmptyIcon className='notion-board-th-empty' /> No | ||
Select | ||
<EmptyIcon className='notion-board-th-empty' /> | ||
{`No ${schema.name}` || 'No Select'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are missing the check for schema.name
, what this will render if schema.name is not available?
Your provided No Select
optional fallback does not work here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @s4nju and @transitive-bullshit, it should be fixed now.
1003503
to
f9d00b3
Compare
Thanks! |
Description
Fix title for empty group on board view, using the property name instead of a static title.
Example
Board view grouped by Priority property:
Before
After
Notion Test Page ID
16f256fbf9b54bc6b4befe13ba74faeb