From ef5b38d67b69698316812231a57edad9e1160f2b Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 17 May 2023 19:42:29 -0500 Subject: [PATCH] Fix mine modifiers tab appearing before it should --- src/data/projEntry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 14cfa10..0ce7ca9 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -738,7 +738,7 @@ export const main = createLayer("main", function (this: BaseLayer) { glowColor(): string { return modifierTabs.activeTab.value === this.tab ? "white" : ""; }, - visibility: () => Object.keys(toolNodes.value).length > 0, + visibility: () => Object.values(toolNodes.value).filter(n => n != null).length > 0, tab: miningTab, miningTabCollapsed }),