diff --git a/plugins/data-management/src/HierarchicalTrackSelectorWidget/model.ts b/plugins/data-management/src/HierarchicalTrackSelectorWidget/model.ts index 065421528ad..ae027f5583a 100644 --- a/plugins/data-management/src/HierarchicalTrackSelectorWidget/model.ts +++ b/plugins/data-management/src/HierarchicalTrackSelectorWidget/model.ts @@ -181,7 +181,7 @@ export default function stateTreeFactory(pluginManager: PluginManager) { connectionTrackConfigurations(connection: { tracks: AnyConfigurationModel[] }) { - return !self.view ? [] : filterTracks(connection.tracks, self) + return filterTracks(connection.tracks, self) }, /** diff --git a/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap b/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap index 53f5feb4d8f..da9930fe179 100644 --- a/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap +++ b/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap @@ -450,6 +450,13 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` }, }, }, + "hierarchical": { + "defaultCollapsed": { + "categoryNames": [ + "Methylation", + ], + }, + }, "logoPath": { "internetAccountId": undefined, "internetAccountPreAuthorization": undefined,