fix: add server_name to moderation_actions for full context retention
Denormalize guild name alongside username so the moderation dashboard shows both TARGET and server even after message table purges. Migration 0018. Frontend displays 'username · server_name' in TARGET.
This commit is contained in:
1 parent
cccfd89266
commit
0de393625f
10 files changed
+30
-2
No files matched your search
@@ -151,6 +151,14 @@ export function LiveModerationFeed({
|
||||
<span className="text-ink-soft">
|
||||
{a.username ?? a.user_id ?? "UNKNOWN_SUBJECT"}
|
||||
</span>
|
||||
{a.server_name && (
|
||||
<>
|
||||
<span>·</span>
|
||||
<span className="text-ink-soft">
|
||||
{a.server_name}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user