ensure recordings show after browser session ends (#3864)
This commit is contained in:
@@ -112,7 +112,7 @@ function BrowserStream({
|
|||||||
}
|
}
|
||||||
|
|
||||||
useQuery({
|
useQuery({
|
||||||
queryKey: ["browserSession", browserSessionId],
|
queryKey: ["hasBrowserSession", browserSessionId],
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
const client = await getClient(credentialGetter, "sans-api-v1");
|
const client = await getClient(credentialGetter, "sans-api-v1");
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ function BrowserSessionVideo() {
|
|||||||
enabled: !!browserSessionId,
|
enabled: !!browserSessionId,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Extract recordings from browser session data
|
|
||||||
const recordings = browserSession?.recordings || [];
|
const recordings = browserSession?.recordings || [];
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|||||||
Reference in New Issue
Block a user