feat(trace-viewer): display query string in network tab (#34505)

This commit is contained in:
Adam Gastineau 2025-01-28 05:19:30 -08:00 committed by GitHub
parent 61d595ae48
commit 63f96efbe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ const renderEntry = (resource: Entry, boundaries: Boundaries, contextIdGenerator
resourceName = url.pathname.substring(url.pathname.lastIndexOf('/') + 1);
if (!resourceName)
resourceName = url.host;
if (url.search)
resourceName += url.search;
} catch {
resourceName = resource.request.url;
}