mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 17:25:52 +01:00
chore(react/collections/table): basic drag support to change columns
This commit is contained in:
@@ -26,6 +26,6 @@ export async function createNewItem(parentNote: FNote, column: string) {
|
||||
}
|
||||
}
|
||||
|
||||
async function changeColumn(noteId: string, newColumn: string, statusAttribute: string) {
|
||||
export async function changeColumn(noteId: string, newColumn: string, statusAttribute: string) {
|
||||
await attributes.setLabel(noteId, statusAttribute, newColumn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user