mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
fix(settings): fixed inability to rename categories when they have blank names
Signed-off-by: JackDotJS <jackdotjs@proton.me>
This commit is contained in:
parent
86e8424e46
commit
28c897ac3d
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue