admin page for category mappings. fixed some bugs and other tweaks
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user