diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-20 16:23:39 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-20 16:23:39 -0400 |
| commit | 49ebcb56488669c1f416c583a9b8c7914e5b6d34 (patch) | |
| tree | 71c998fce42afeb71f910ac7bb8b12407797e6ac /src/client/util | |
| parent | feb43b4bf769575766825593269b97f46536dd72 (diff) | |
fixed moving documents in tree views
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 3e9a5b63a..3ea030171 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -19,7 +19,7 @@ import { DateField } from "../../new_fields/DateField"; import { DocumentView } from "../views/nodes/DocumentView"; import { UndoManager } from "./UndoManager"; -export type dropActionType = "place" | "alias" | "copy" | undefined; +export type dropActionType = "alias" | "copy" | "move" | undefined; // undefined = move export function SetupDrag( _reference: React.RefObject<HTMLElement>, docFunc: () => Doc | Promise<Doc> | undefined, |
