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 54bee61 commit 89b6a01Copy full SHA for 89b6a01
app/scripts/app.ts
@@ -172,6 +172,9 @@ korpApp.run([
172
let waitForLogin = false
173
174
async function initializeCorpusSelection(ids: string[], skipLogin?: boolean): Promise<void> {
175
+ // Resolve any folder ids to the contained corpus ids
176
+ ids = ids.flatMap((id) => getAllCorporaInFolders(settings.folders, id))
177
+
178
const isDenied = (corpus?: CorpusTransformed) =>
179
corpus?.limited_access && !auth.hasCredential(corpus.id.toUpperCase())
180
0 commit comments