From 948654ad386cc698a4ce154df95b709f1ffaa2dc Mon Sep 17 00:00:00 2001 From: WuWQ98 <96223865+WuWQ98@users.noreply.github.com> Date: Fri, 10 Mar 2023 19:54:28 +0800 Subject: [PATCH] [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");