merge: pull request #1050 from JackDotJS/fix-blank-category-name

This commit is contained in:
Paul Makles 2024-12-17 17:29:16 +00:00 committed by GitHub
commit 03f9f7673d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -369,7 +369,9 @@ function ListElement({
<KanbanList last={false} key={category.id}>
<div className="inner">
<Row>
<KanbanListHeader {...provided.dragHandleProps}>
<KanbanListHeader
{...provided.dragHandleProps}
onClick={startEditing}>
{editing !== undefined ? (
<input
value={editing}
@ -384,7 +386,7 @@ function ListElement({
id={category.id}
/>
) : (
<span onClick={startEditing}>
<span>
{category.title}
</span>
)}