From d6af7294e41f1a1cbf0dfdfa71334260a3b390aa Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 21 Dec 2021 12:27:44 +0000 Subject: [PATCH] Fix legacy breadcrumbs wrongly showing up (#7425) --- src/components/structures/LeftPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/LeftPanel.tsx b/src/components/structures/LeftPanel.tsx index ab48cb3e47..fb9fcd5d76 100644 --- a/src/components/structures/LeftPanel.tsx +++ b/src/components/structures/LeftPanel.tsx @@ -84,7 +84,7 @@ export default class LeftPanel extends React.Component { } private static get breadcrumbsMode(): BreadcrumbsMode { - if (!SettingsStore.getValue("breadcrumbs")) return BreadcrumbsMode.Disabled; + if (!BreadcrumbsStore.instance.visible) return BreadcrumbsMode.Disabled; return SettingsStore.getValue("feature_breadcrumbs_v2") ? BreadcrumbsMode.Labs : BreadcrumbsMode.Legacy; }