mirror of
https://github.com/xuquan-nikkkki/FolderFile-Splitter-Plugin.git
synced 2026-07-22 05:37:28 +00:00
fix: disable dragging action for pinned folders
This commit is contained in:
parent
441286e761
commit
4347aa7907
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ const Folder = ({
|
|||
} = useDraggable({
|
||||
id: folder.path,
|
||||
data: { type: FFS_DRAG_FOLDER, item: folder },
|
||||
disabled: disableDrag,
|
||||
});
|
||||
|
||||
const { setNodeRef: setDropRef, isOver } = useDroppable({
|
||||
|
|
|
|||
Loading…
Reference in a new issue