CDN Integration for Admin

This commit is contained in:
dingo
2025-12-25 17:39:00 -05:00
parent 5afe3884fa
commit 1d5fbd29ce
11 changed files with 486 additions and 228 deletions
@@ -73,6 +73,9 @@ public class EditModel : AdminPageModel
// Handle checkbox binding
LootTable.IsEnabled = Request.Form.ContainsKey("LootTable.IsEnabled");
LootTable.GuaranteedDrop = Request.Form.ContainsKey("LootTable.GuaranteedDrop");
// Ensure Description is never null
LootTable.Description ??= "";
if (string.IsNullOrWhiteSpace(LootTable.Name))
{