Skip to content

Commit fc6f977

Browse files
authored
Adding mime type to support remote folder dnd (microsoft#242200)
microsoft/vscode-copilot#13491
1 parent 04edc75 commit fc6f977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatDragAndDrop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class ChatDragAndDrop extends Themable {
176176
return ChatDragAndDropType.FILE_EXTERNAL;
177177
} else if (containsDragType(e, DataTransfers.INTERNAL_URI_LIST)) {
178178
return ChatDragAndDropType.FILE_INTERNAL;
179-
} else if (containsDragType(e, Mimes.uriList, CodeDataTransfers.FILES)) {
179+
} else if (containsDragType(e, Mimes.uriList, CodeDataTransfers.FILES, DataTransfers.RESOURCES)) {
180180
return ChatDragAndDropType.FOLDER;
181181
}
182182

0 commit comments

Comments
 (0)