diff --git a/TASVideos/Pages/Games/Versions/List.cshtml b/TASVideos/Pages/Games/Versions/List.cshtml
index b8ef576b2..0c6b27023 100644
--- a/TASVideos/Pages/Games/Versions/List.cshtml
+++ b/TASVideos/Pages/Games/Versions/List.cshtml
@@ -16,8 +16,16 @@
@foreach (var version in Model.Versions.OrderBy(v => v.Name))
{
- @version.Type |
- @version.Name |
+
+ @version.Type
+ |
+
+ @version.Name
+ @if (!string.IsNullOrWhiteSpace(version.SourceDb))
+ {
+ SourceDB: @version.SourceDb
+ }
+ |
@version.TitleOverride |
@version.Version |
@version.Region |
diff --git a/TASVideos/Pages/Games/Versions/List.cshtml.cs b/TASVideos/Pages/Games/Versions/List.cshtml.cs
index d95d4d64a..49c502ede 100644
--- a/TASVideos/Pages/Games/Versions/List.cshtml.cs
+++ b/TASVideos/Pages/Games/Versions/List.cshtml.cs
@@ -35,7 +35,8 @@ public async Task OnGet()
v.Region,
v.Type,
v.System!.Code,
- v.TitleOverride))
+ v.TitleOverride,
+ v.SourceDb))
.ToListAsync();
return Page();
}
@@ -49,5 +50,6 @@ public record VersionEntry(
string? Region,
VersionTypes Type,
string System,
- string? TitleOverride);
+ string? TitleOverride,
+ string? SourceDb);
}