From a596ae48a0c5dc33c642a4526b5634832e9c71b0 Mon Sep 17 00:00:00 2001 From: Duy Dao Date: Wed, 16 Jul 2025 08:25:29 +0700 Subject: [PATCH] feat: update commit hash display to be a clickable link in the UI --- CaddyManager/Components/Layout/MainLayout.razor | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CaddyManager/Components/Layout/MainLayout.razor b/CaddyManager/Components/Layout/MainLayout.razor index ad90505..d357c9a 100644 --- a/CaddyManager/Components/Layout/MainLayout.razor +++ b/CaddyManager/Components/Layout/MainLayout.razor @@ -16,14 +16,16 @@ Caddy Manager - @ApplicationInfo.Version - + @ApplicationInfo.Version - @if(ApplicationInfo.CommitHash != "[DEVELOPMENT]") { - (@ApplicationInfo.CommitHash) + + [@ApplicationInfo.CommitHash] + } else { - @ApplicationInfo.CommitHash + @ApplicationInfo.CommitHash }