Don't have 'show local' button in open dialog when remote

Fixes #110264
This commit is contained in:
Alex Ross
2020-11-13 15:54:17 +01:00
parent 043d8e2086
commit addaad3f99

View File

@@ -38,7 +38,8 @@ export class MainThreadDialogs implements MainThreadDiaglogsShape {
canSelectFolders: options?.canSelectFolders,
canSelectMany: options?.canSelectMany,
defaultUri: options?.defaultUri ? URI.revive(options.defaultUri) : undefined,
title: options?.title || undefined
title: options?.title || undefined,
availableFileSystems: []
};
if (options?.filters) {
result.filters = [];