mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 00:03:00 +00:00
fix(datatables): check the workspace stamp in the default database selector too
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
953c6903bb
commit
e196a754af
@@ -47,9 +47,12 @@
|
||||
)
|
||||
|
||||
const datatableItems = $derived(toDatatableItems(datatables.current))
|
||||
// Until the answer is for this data table and role, the schemas in hand belong to another.
|
||||
// Until the answer is for this workspace, data table and role, the schemas in hand belong to
|
||||
// another.
|
||||
const schemaItems = $derived(
|
||||
access.current.datatable === datatable && access.current.role === role
|
||||
access.current.workspace === opWs &&
|
||||
access.current.datatable === datatable &&
|
||||
access.current.role === role
|
||||
? toSchemaItems(access.current.schemas)
|
||||
: []
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user