mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-04 08:09:16 +00:00
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:
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] }
|
||||
|
||||
Reference in New Issue
Block a user