Unverified Commit adbd99d2 authored by Manoj Pandian Sakthivel's avatar Manoj Pandian Sakthivel Committed by GitHub
Browse files

Change default track config state for track labels to true (#187)

* Change default track config state for labels and names to true

* Track names are off by default

* minor logic update
parent ee2b6f83
Pipeline #42800 passed with stages
in 5 minutes and 17 seconds
......@@ -62,7 +62,8 @@ const BrowserTrackConfig: FunctionComponent<BrowserTrackConfigProps> = (
const selectedCog = props.selectedCog || '';
const shouldShowTrackName = trackConfigNames[selectedCog] || false;
const shouldShowTrackLabels = trackConfigLabel[selectedCog] || false;
const shouldShowTrackLabels =
selectedCog in trackConfigLabel ? trackConfigLabel[selectedCog] : true;
const ref = useRef(null);
useOutsideClick(ref, props.onClose);
......
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