Skip to content

Commit

Permalink
fix(settings): fixed inability to rename categories when they have bl…
Browse files Browse the repository at this point in the history
…ank names

Signed-off-by: JackDotJS <[email protected]>
  • Loading branch information
JackDotJS committed Oct 27, 2024
1 parent 86e8424 commit 28c897a
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 28c897a

Please sign in to comment.