Fix legacy breadcrumbs wrongly showing up (#7425)
This commit is contained in:
parent
9ac85bcaa3
commit
d6af7294e4
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export default class LeftPanel extends React.Component<IProps, IState> {
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue