ignore an unset access from the mcp consent page picker (#12845)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-12-04 06:53:31 +01:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 741f5c305e
commit a3cd31addd
@@ -251,6 +251,7 @@
// Selected scripts and flows are listed per workspace, so a selection keeps one of them.
let beforeSelection: { all: boolean; picked: string[]; held: string | undefined } | undefined
function setAccess(next: McpAccess | undefined) {
if (!next) return
if (next === 'selected' && access !== 'selected') {
beforeSelection = access
? { all: allWorkspaces, picked: pickedWorkspaces, held: pickedWorkspaces[0] }