We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2708f8 commit 0a8c90aCopy full SHA for 0a8c90a
components/google_docs/sources/common/base.mjs
@@ -57,7 +57,7 @@ export default {
57
async getDocuments(limit) {
58
const foldersIds = this.folders;
59
60
- if (!foldersIds.length) {
+ if (!foldersIds?.length) {
61
const opts = this.getDocumentsFromFolderOpts("root");
62
const { files } = await this.googleDrive.listFilesInPage(null, opts);
63
return this.getDocumentsFromFiles(files, limit);
0 commit comments