mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 15:12:08 -05:00
merge: pull request #1050 from JackDotJS/fix-blank-category-name
This commit is contained in:
commit
03f9f7673d
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue