Skip to content

Commit

Permalink
merge: pull request #1050 from JackDotJS/fix-blank-category-name
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish authored Dec 17, 2024
2 parents 478d375 + 28c897a commit 03f9f76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/settings/server/Categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -384,7 +386,7 @@ function ListElement({
id={category.id}
/>
) : (
<span onClick={startEditing}>
<span>
{category.title}
</span>
)}
Expand Down

0 comments on commit 03f9f76

Please sign in to comment.