mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:16:05 +08:00 
			
		
		
		
	fix(views/table): insert direction no longer working
This commit is contained in:
		
							parent
							
								
									0d347f8823
								
							
						
					
					
						commit
						ef1153d336
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -253,7 +253,8 @@ function buildInsertSubmenu(e: MouseEvent, referenceColumn: ColumnComponent, dir | |||
|             handler: () => { | ||||
|                 getParentComponent(e)?.triggerCommand("addNewTableColumn", { | ||||
|                     referenceColumn, | ||||
|                     type: "label" | ||||
|                     type: "label", | ||||
|                     direction | ||||
|                 }); | ||||
|             } | ||||
|         }, | ||||
|  | @ -262,7 +263,8 @@ function buildInsertSubmenu(e: MouseEvent, referenceColumn: ColumnComponent, dir | |||
|             handler: () => { | ||||
|                 getParentComponent(e)?.triggerCommand("addNewTableColumn", { | ||||
|                     referenceColumn, | ||||
|                     type: "relation" | ||||
|                     type: "relation", | ||||
|                     direction | ||||
|                 }); | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue