Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All child and parent folder are showing #35

Open
Aqibrafiq001 opened this issue Nov 1, 2022 · 1 comment
Open

All child and parent folder are showing #35

Aqibrafiq001 opened this issue Nov 1, 2022 · 1 comment

Comments

@Aqibrafiq001
Copy link

Aqibrafiq001 commented Nov 1, 2022

openPicker({
clientId: G_DRIVE.client_id,
developerKey: G_DRIVE.developer_key,
viewId: 'FOLDERS',
token: res,
showUploadView: true,
showUploadFolders: true,
supportDrives: true,
multiselect: true,
setIncludeFolders: true,
callbackFunction: handleGoogleDrive
})

why im getting nested folder upfront using React-google-drive-picker library?

My Google-Drive have child folders inside parent folder. Please find below screenshot from Google-Drive
Issue is when trying to access same Google-Drive using React-google-drive-picker all child folders are also appearing on root as well.
Please advise further to fix the issue.

Google Drive Screenshot :
image

Library :
image

is there anyway to show only parent folder upfront?

@muhammadsajid1997
Copy link
Contributor

Fixed in PR #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants