From 63cc628d5874c5a7f9d3a91a7ef5aa7f41f6f69f Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 12 Jun 2026 10:51:23 +0100 Subject: [PATCH] refac --- .../src/lib/components/Settings/About.svelte | 21 +++++++++---------- .../lib/components/Settings/General.svelte | 14 ++++++++++++- cptr/frontend/src/lib/stores.ts | 9 +++++++- cptr/frontend/src/routes/+layout.svelte | 4 +++- 4 files changed, 34 insertions(+), 14 deletions(-) diff --git a/cptr/frontend/src/lib/components/Settings/About.svelte b/cptr/frontend/src/lib/components/Settings/About.svelte index 44a55d7..cb9de7a 100644 --- a/cptr/frontend/src/lib/components/Settings/About.svelte +++ b/cptr/frontend/src/lib/components/Settings/About.svelte @@ -22,19 +22,18 @@ >v{$appVersion} {/if} + {#if $updateAvailable} + ยท + v{$latestVersion} available + {/if} - {#if $updateAvailable} - - {$t('update.updateAvailable', { version: $latestVersion })} - - {/if} -

{$t('app.tagline')}

diff --git a/cptr/frontend/src/lib/components/Settings/General.svelte b/cptr/frontend/src/lib/components/Settings/General.svelte index b2a6892..721a749 100644 --- a/cptr/frontend/src/lib/components/Settings/General.svelte +++ b/cptr/frontend/src/lib/components/Settings/General.svelte @@ -1,11 +1,12 @@