From 1d8b4968661b3a7ff8207c3f404c568e0ba96fed Mon Sep 17 00:00:00 2001 From: QQ Date: Thu, 12 Nov 2026 14:16:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20workbench/panel/lib/client?= =?UTF-8?q?.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workbench/panel/lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/panel/lib/client.js b/workbench/panel/lib/client.js index c7b0001..1b13ce4 100644 --- a/workbench/panel/lib/client.js +++ b/workbench/panel/lib/client.js @@ -434,7 +434,7 @@ window.__ModuleLoader__.load({ } function betterSidebarOf(ctx) { - var candidates = [readService(ctx, "betterSidebar"), ctx && ctx.betterSidebar]; + var candidates = [readService(ctx, "betterSidebar")]; for (var i = 0; i < candidates.length; i++) { var candidate = candidates[i]; if (candidate && typeof candidate.registerTab === "function") return candidate;