Refer to Category.Name explicitly instead of relying on ToString()

This commit is contained in:
Tyrrrz
2021-11-19 22:18:15 +02:00
parent 1db2bb4170
commit 4974fe5292
4 changed files with 6 additions and 6 deletions

View File

@@ -152,7 +152,7 @@
background-color: @Themed("rgba(88, 101, 242, .3)", "rgba(88, 101, 242, .15)");
font-weight: 500;
}
.mention:hover {
background-color: #5865f2;
color: #ffffff
@@ -715,7 +715,7 @@
</div>
<div class="preamble__entries-container">
<div class="preamble__entry">@Model.ExportContext.Request.Guild.Name</div>
<div class="preamble__entry">@Model.ExportContext.Request.Channel.Category / @Model.ExportContext.Request.Channel.Name</div>
<div class="preamble__entry">@Model.ExportContext.Request.Channel.Category.Name / @Model.ExportContext.Request.Channel.Name</div>
@if (!string.IsNullOrWhiteSpace(Model.ExportContext.Request.Channel.Topic))
{