From 4c924c0763036752b1b37390792fb7b532fe3696 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 10 Sep 2021 21:05:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=82=B4=20=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EC=B6=94=EA=B0=80=20=EB=B6=88=EB=9F=AC?= =?UTF-8?q?=EC=98=A4=EA=B8=B0=20=EC=95=88=EB=90=98=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/myPage.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hwe/ts/myPage.ts b/hwe/ts/myPage.ts index bc0dc914..055af084 100644 --- a/hwe/ts/myPage.ts +++ b/hwe/ts/myPage.ts @@ -9,7 +9,7 @@ import { unwrap_any } from './util/unwrap_any'; type LogResponse = { result: true; - log: Record; + log: Record; }; $(function ($) { @@ -92,10 +92,11 @@ $(function ($) { } const html: string[] = []; - for (const [key, item] of Object.entries(result.log)) { + for (const key of Object.values(keys)) { if ($(`#log_${logType}_${key}`).length) { return true; } + const item = result.log[key]; html.push(`
${item}
`); } $(`#${logType}Plate`).append(html.join(''));