mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 23:29:02 +02:00
chore(react/collections/board): start with no name for new notes
This commit is contained in:
parent
cd3663e041
commit
b361cc0630
@ -2006,6 +2006,7 @@
|
||||
"delete-column": "Delete column",
|
||||
"delete-column-confirmation": "Are you sure you want to delete this column? The corresponding attribute will be deleted in the notes under this column as well.",
|
||||
"new-item": "New item",
|
||||
"new-item-placeholder": "Enter note title...",
|
||||
"add-column": "Add Column",
|
||||
"add-column-placeholder": "Enter column name...",
|
||||
"edit-note-title": "Click to edit note title",
|
||||
|
@ -140,7 +140,7 @@ function AddNewItem({ column, api }: { column: string, api: BoardApi }) {
|
||||
</>
|
||||
) : (
|
||||
<TitleEditor
|
||||
currentValue={t("board_view.new-item")}
|
||||
placeholder={t("board_view.new-item-placeholder")}
|
||||
save={(title) => api.createNewItem(column, title)}
|
||||
dismiss={() => setIsCreatingNewItem(false)}
|
||||
multiline isNewItem
|
||||
|
Loading…
x
Reference in New Issue
Block a user