Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
simoleo89
2026-07-11 20:37:56 +02:00
parent 4a1e1115b3
commit 4d515bc400
338 changed files with 5949 additions and 28144 deletions
+2 -6
View File
@@ -28,9 +28,7 @@ export async function applyStaff(formData: FormData): Promise<void> {
const rankId = Number(formData.get("rankId"));
if (!Number.isInteger(rankId) || rankId <= 0) return;
const content = String(formData.get("content") ?? "")
.trim()
.slice(0, CONTENT_MAX);
const content = String(formData.get("content") ?? "").trim().slice(0, CONTENT_MAX);
if (content.length < CONTENT_MIN) return;
try {
@@ -72,9 +70,7 @@ export async function applyTeam(formData: FormData): Promise<void> {
const rankId = Number(formData.get("teamId"));
if (!Number.isInteger(rankId) || rankId <= 0) return;
const content = String(formData.get("content") ?? "")
.trim()
.slice(0, CONTENT_MAX);
const content = String(formData.get("content") ?? "").trim().slice(0, CONTENT_MAX);
if (content.length < CONTENT_MIN) return;
try {