Reduced commit hash string in ui

This commit is contained in:
Marcel Baumgartner
2024-06-30 02:35:35 +02:00
parent 20b67eafe1
commit 1cca9457ee

View File

@@ -48,7 +48,7 @@
</div> </div>
<div class="col-md-3 col-12"> <div class="col-md-3 col-12">
@{ @{
var commitText = $"{MoonlightService.BuildCommitHash}"; // TODO: Add update check (possible during startup, with error handling etc) var commitText = $"{MoonlightService.BuildCommitHash.Substring(0, 6)}"; // TODO: Add update check (possible during startup, with error handling etc)
} }
<StatCard Value="@commitText" Description="Commit" Icon="bxl-git"/> <StatCard Value="@commitText" Description="Commit" Icon="bxl-git"/>