Unverified Commit 52bee27d authored by Imran Salam's avatar Imran Salam Committed by GitHub
Browse files

Reset genome browser track panel tabs on refresh (#468)

parent 41ad2683
Pipeline #134207 passed with stages
in 4 minutes and 21 seconds
......@@ -33,8 +33,7 @@ export enum StorageKeys {
CHR_LOCATION = 'browser.chrLocation',
DEFAULT_CHR_LOCATION = 'browser.defaultChrLocation',
TRACK_STATES = 'browser.trackStates',
TRACK_PANELS = 'browser.trackPanels',
SELECTED_TRACK_PANEL_TAB = 'browser.selectedTrackPanelTab'
TRACK_PANELS = 'browser.trackPanels'
}
export class BrowserStorageService {
......
......@@ -74,10 +74,6 @@ export const getTrackPanelStateForGenome = (
export const pickPersistentTrackPanelProperties = (
trackPanel: Partial<TrackPanelStateForGenome>
) => {
const persistentProperties = [
'selectedTrackPanelTab',
'collapsedTrackIds',
'previouslyViewedObjects'
];
const persistentProperties = ['collapsedTrackIds', 'previouslyViewedObjects'];
return pick(trackPanel, persistentProperties);
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment