admin page for category mappings. fixed some bugs and other tweaks

This commit is contained in:
2025-12-01 06:48:34 -05:00
parent ba4ac2eaf6
commit 309d164139
122 changed files with 3190 additions and 17 deletions
+4 -1
View File
@@ -30,6 +30,9 @@ const CATEGORY_TO_PART_ROLES: Record<CategoryId, string[]> = {
buffer: ["buffer-kit"],
lowerParts: ["lower-parts-kit"],
sights: ["sight"],
lower: ["lower-receiver"],
optic: ["optic"],
stock: ["stock"],
};
// sort options
@@ -239,7 +242,7 @@ export default function CategoryPage() {
href="/gunbuilder"
className="text-xs text-zinc-400 hover:text-zinc-300 mb-4 inline-block"
>
Back to Gunbuilder
Back to The Armory
</Link>
<div className="flex items-start justify-between gap-4">
<div>