fix(webui): proper PvPVariant check
All checks were successful
Build / build (pull_request) Successful in 53s
All checks were successful
Build / build (pull_request) Successful in 53s
Closes #2584
This commit is contained in:
parent
dd7bacd22e
commit
da39bacf74
@ -153,7 +153,7 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
}
|
||||
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
|
||||
if (item.partType) {
|
||||
if (!item.excludeFromCodex) {
|
||||
if (!uniqueName.split("/")[7]?.startsWith("PvPVariant")) {
|
||||
// not a pvp variant
|
||||
if (!uniqueName.startsWith("/Lotus/Types/Items/Deimos/")) {
|
||||
res.ModularParts.push({
|
||||
|
Loading…
x
Reference in New Issue
Block a user