uberf-10649: fix last visit for stale workspaces (#8999)
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / uitest-workspaces (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
Alexey Zinoviev 2025-05-20 20:52:04 +04:00 committed by GitHub
parent ba9c8e1638
commit 9b42d2e87d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -392,7 +392,7 @@ export async function fetchWorkspace (): Promise<[Status, WorkspaceInfoWithStatu
} }
try { try {
const workspaceWithStatus = await getAccountClient(token).getWorkspaceInfo() const workspaceWithStatus = await getAccountClient(token).getWorkspaceInfo(true)
Analytics.handleEvent('Fetch workspace') Analytics.handleEvent('Fetch workspace')
Analytics.setWorkspace(workspaceWithStatus.url) Analytics.setWorkspace(workspaceWithStatus.url)