This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new f331f3474d7 branch-3.1: [fix](ui) fix ui show incomplete profile
#58613 (#58640)
f331f3474d7 is described below
commit f331f3474d7318e25949da5e1c11c6aef0e713fb
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 4 10:45:52 2025 +0800
branch-3.1: [fix](ui) fix ui show incomplete profile #58613 (#58640)
Cherry-picked from #58613
Co-authored-by: 924060929 <[email protected]>
---
ui/src/pages/query-profile/index.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ui/src/pages/query-profile/index.tsx
b/ui/src/pages/query-profile/index.tsx
index a71698cec40..2fefdcb4300 100644
--- a/ui/src/pages/query-profile/index.tsx
+++ b/ui/src/pages/query-profile/index.tsx
@@ -50,7 +50,7 @@ export default function QueryProfile(params: any) {
if (!res.data.column_names) {
setProfile(res.data);
if (container.current !== null) {
- container.current.innerHTML = res.data;
+ container.current.innerText = res.data;
}
} else {
setProfile('');
@@ -188,12 +188,12 @@ export default function QueryProfile(params: any) {
</Col>
</Row>
{profile ? (
- <div
+ <pre
ref={container}
style={{ background: '#f9f9f9', padding: '20px' }}
>
{/* {profile} */}
- </div>
+ </pre>
) : (
<Table
rowKey={(record) => record['Profile ID']}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]