mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(views/table): insert direction no longer working
This commit is contained in:
parent
0d347f8823
commit
ef1153d336
@ -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…
x
Reference in New Issue
Block a user