mirror of
https://github.com/open-webui/computer.git
synced 2026-11-29 08:31:49 -05:00
refac
This commit is contained in:
1 parent
c5d4bf76a5
commit
1cbb3a5e6f
25 files changed
+594
-139
No files matched your search
@@ -32,7 +32,7 @@
|
||||
let resultsEl: HTMLDivElement | undefined = $state();
|
||||
|
||||
// Determine active workspace from the URL, not the store.
|
||||
// When on /automations or other non-workspace pages, $currentWorkspace
|
||||
// When on /scheduled or other non-workspace pages, $currentWorkspace
|
||||
// retains the last workspace but we should search across all.
|
||||
const urlWorkspacePath = $derived($page.url.searchParams.get('workspace'));
|
||||
const effectiveWorkspace = $derived(urlWorkspacePath ? $currentWorkspace : null);
|
||||
|
||||
Reference in new issue
Block a user