mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix open file on drop-n-drop (#21006)
This commit is contained in:
@@ -367,9 +367,7 @@ class DropOverlay extends Themable {
|
|||||||
|
|
||||||
// {{SQL CARBON EDIT}}
|
// {{SQL CARBON EDIT}}
|
||||||
let untitledOrFileResources: any = undefined;
|
let untitledOrFileResources: any = undefined;
|
||||||
await this.instantiationService.invokeFunction(accessor => {
|
untitledOrFileResources = await this.instantiationService.invokeFunction(extractEditorsDropData, event);
|
||||||
untitledOrFileResources = extractEditorsDropData(accessor, event);
|
|
||||||
});
|
|
||||||
if (untitledOrFileResources && !untitledOrFileResources.length) {
|
if (untitledOrFileResources && !untitledOrFileResources.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user