Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed missing user agent info in historical flow details #8783

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions scripts/lua/modules/lua_utils_gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,14 @@ function format_http_info(http_info, no_html)
end
end

if http_info["last_user_agent"] then
if no_html then
http_info["last_user_agent"] = http_info["last_user_agent"]
else
http_info["last_user_agent"] = string.format('<span">%s</span>', http_info["last_user_agent"])
end
end

return http_info
end

Expand Down
Loading