From d1360342eb44eeb49843e91625b70c4632eaddaa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 15 Dec 2025 10:11:12 +0000 Subject: [PATCH] Fix: Prevent Python3 dependencies from appearing in NodeJs tab Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --- back/services/dependence.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/dependence.ts b/back/services/dependence.ts index 1cb7e559..eac054be 100644 --- a/back/services/dependence.ts +++ b/back/services/dependence.ts @@ -107,7 +107,7 @@ export default class DependenceService { query: any = {}, ): Promise { let condition = query; - if (DependenceTypes[type]) { + if (type && DependenceTypes[type] !== undefined) { condition.type = DependenceTypes[type]; } if (status) {