mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-31 14:43:05 +02:00
Optimize sidebar collapsing
This commit is contained in:
@@ -21,7 +21,7 @@ export function useOpenWorkspace() {
|
||||
const environmentId = (await getRecentEnvironments(workspaceId))[0] ?? undefined;
|
||||
const requestId = (await getRecentRequests(workspaceId))[0] ?? undefined;
|
||||
const cookieJarId = (await getRecentCookieJars(workspaceId))[0] ?? undefined;
|
||||
const search = { environmentId, cookieJarId };
|
||||
const search = { environment_id: environmentId, cookie_jar_id: cookieJarId };
|
||||
|
||||
if (inNewWindow) {
|
||||
const location = router.buildLocation({
|
||||
|
||||
Reference in New Issue
Block a user