mirror of
https://github.com/Empostor/Empostor.git
synced 2026-11-19 13:16:48 +00:00
fix Admin Panel
This commit is contained in:
1 parent
354bc1757d
commit
04059279f6
4 files changed
+6
-17
No files matched your search
@@ -150,7 +150,6 @@
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
".NETStandard,Version=v2.0/win-x64": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,12 +34,6 @@
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
|
||||
}
|
||||
},
|
||||
"Microsoft.NET.ILLink.Tasks": {
|
||||
"type": "Direct",
|
||||
"requested": "[8.0.28, )",
|
||||
"resolved": "8.0.28",
|
||||
"contentHash": "XMqgVjlLxLqWmEh3c49haXLQwsMNtvo6YscUaqfvEGfg1iA8hnYgkUVq3i9Zu9gKeNKMWiiZKVwZExc/qyEAsQ=="
|
||||
},
|
||||
"StyleCop.Analyzers": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.2.0-beta.556, )",
|
||||
@@ -145,7 +139,6 @@
|
||||
"NextFast.Hazel.Abstractions": {
|
||||
"type": "Project"
|
||||
}
|
||||
},
|
||||
"net8.0/win-x64": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1419,7 +1419,10 @@ internal static class AdminTemplateDefaults
|
||||
async function fDiscordWebhook() {
|
||||
const { data } = await api('GET', '/api/admin/discord');
|
||||
document.getElementById('dw-enabled').checked = data.enabled;
|
||||
document.getElementById('dw-url').value = data.webhookUrl || '';
|
||||
const urlEl = document.getElementById('dw-url');
|
||||
if (document.activeElement !== urlEl) {
|
||||
urlEl.value = data.webhookUrl || '';
|
||||
}
|
||||
document.getElementById('dw-game-created').checked = data.notifyOnGameCreated;
|
||||
document.getElementById('dw-ban').checked = data.notifyOnBan;
|
||||
document.getElementById('dw-report').checked = data.notifyOnReport;
|
||||
|
||||
@@ -58,12 +58,6 @@
|
||||
"resolved": "8.0.1",
|
||||
"contentHash": "X21b8D6z58EG34OMLH955750mFaEaGs5xLGe9Vyi3059Cgb3sk+p2k/JlQXaieEBRrk+SVlFzDei3Q6PdVzJOA=="
|
||||
},
|
||||
"Microsoft.NET.ILLink.Tasks": {
|
||||
"type": "Direct",
|
||||
"requested": "[8.0.28, )",
|
||||
"resolved": "8.0.28",
|
||||
"contentHash": "XMqgVjlLxLqWmEh3c49haXLQwsMNtvo6YscUaqfvEGfg1iA8hnYgkUVq3i9Zu9gKeNKMWiiZKVwZExc/qyEAsQ=="
|
||||
},
|
||||
"Serilog.Extensions.Hosting": {
|
||||
"type": "Direct",
|
||||
"requested": "[8.0.0, )",
|
||||
|
||||
Reference in new issue
Block a user