From 0f706e285ea6915b57c2a6f31f7a8f42d8a88f1f Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Tue, 25 Aug 2026 20:41:15 +0700 Subject: [PATCH] =?UTF-8?q?[verified]=20Thai-only=20cleanup:=20freq=20labe?= =?UTF-8?q?ls=20(=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B9=80=E0=B8=94=E0=B8=B7?= =?UTF-8?q?=E0=B8=AD=E0=B8=99/=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B9=84?= =?UTF-8?q?=E0=B8=95=E0=B8=A3=E0=B8=A1=E0=B8=B2=E0=B8=AA),=20section=20tit?= =?UTF-8?q?les=20Thai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 1b07905..10fefd1 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -54,6 +54,7 @@ const signalSummary = computed(() => { const s = summary.value?.signal_summary return { long: s?.long ?? 0, short: s?.short ?? 0, neutral: s?.neutral ?? 0, total: s?.total ?? 0 } }) +const freqLabel = (f) => ({ monthly: 'รายเดือน', quarterly: 'รายไตรมาส', annual: 'รายปี', daily: 'รายวัน' })[f] || f const factorAvailable = computed(() => factorData.value?.available ?? false) const dividendCount = computed(() => factorData.value?.dividend_count ?? 0) const signalScoreCount = computed(() => factorRows.value.filter((f) => f.signal_side === 'LONG' || f.signal_side === 'SHORT').length) @@ -419,7 +420,7 @@ onMounted(loadDashboard)
- {{ theme.frequency }} + {{ freqLabel(theme.frequency) }} {{ theme.label_th }}
@@ -529,7 +530,7 @@ onMounted(loadDashboard)
01 / สิ่งที่เปลี่ยนไป
-

Theme surprise

+

ความต่างจากปกติ

{{ positiveObservations }}/{{ observationRows.length }} เป็นบวก