fix(webui): ignore MiscItems that don't have a name (#1429)

Reviewed-on: OpenWF/SpaceNinjaServer#1429
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-04-02 09:52:24 -07:00 committed by Sainan
parent dd7805cfb2
commit 74d9428a66

View File

@ -115,6 +115,7 @@ const getItemListsController: RequestHandler = (req, response) => {
} }
} }
if ( if (
name &&
uniqueName.substr(0, 30) != "/Lotus/Types/Game/Projections/" && uniqueName.substr(0, 30) != "/Lotus/Types/Game/Projections/" &&
uniqueName != "/Lotus/Types/Gameplay/EntratiLab/Resources/EntratiLanthornBundle" uniqueName != "/Lotus/Types/Gameplay/EntratiLab/Resources/EntratiLanthornBundle"
) { ) {