Compare commits

...

2 commits

Author SHA1 Message Date
JackDotJS
8b4e20f971
Merge 28c897ac3d into cb6296a96e 2024-11-15 18:30:24 +10:30
JackDotJS
28c897ac3d fix(settings): fixed inability to rename categories when they have blank names
Signed-off-by: JackDotJS <jackdotjs@proton.me>
2024-10-27 11:14:04 -07:00

View file

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