mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	chore(react/collections/board): start with no name for new notes
This commit is contained in:
		| @@ -2006,6 +2006,7 @@ | |||||||
|     "delete-column": "Delete column", |     "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.", |     "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": "New item", | ||||||
|  |     "new-item-placeholder": "Enter note title...", | ||||||
|     "add-column": "Add Column", |     "add-column": "Add Column", | ||||||
|     "add-column-placeholder": "Enter column name...", |     "add-column-placeholder": "Enter column name...", | ||||||
|     "edit-note-title": "Click to edit note title", |     "edit-note-title": "Click to edit note title", | ||||||
|   | |||||||
| @@ -140,7 +140,7 @@ function AddNewItem({ column, api }: { column: string, api: BoardApi }) { | |||||||
|                 </> |                 </> | ||||||
|             ) : ( |             ) : ( | ||||||
|                 <TitleEditor |                 <TitleEditor | ||||||
|                     currentValue={t("board_view.new-item")} |                     placeholder={t("board_view.new-item-placeholder")} | ||||||
|                     save={(title) => api.createNewItem(column, title)} |                     save={(title) => api.createNewItem(column, title)} | ||||||
|                     dismiss={() => setIsCreatingNewItem(false)} |                     dismiss={() => setIsCreatingNewItem(false)} | ||||||
|                     multiline isNewItem |                     multiline isNewItem | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user