This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 99fe4543ad [fix](ui)format the text file of profile #17645
99fe4543ad is described below
commit 99fe4543ad6f6ae9da95cd415d67b7b25dc6c70d
Author: WuWQ98 <[email protected]>
AuthorDate: Fri Mar 10 19:54:28 2023 +0800
[fix](ui)format the text file of profile #17645
---
ui/src/pages/query-profile/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/pages/query-profile/index.tsx
b/ui/src/pages/query-profile/index.tsx
index bcd71b2ea0..0f136dbfea 100644
--- a/ui/src/pages/query-profile/index.tsx
+++ b/ui/src/pages/query-profile/index.tsx
@@ -76,7 +76,7 @@ export default function QueryProfile(params: any) {
}
function download(profile) {
- const blob = new Blob([JSON.stringify(profile)], {
+ const blob = new Blob([JSON.stringify(profile, null, 2)], {
type: "text/plain"
});
const tagA = document.createElement("a");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]