Skip to content

Commit

Permalink
fix(frontend): fix tracing backend selected tab (#3475)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc authored Dec 22, 2023
1 parent aa8a1cd commit 20e795c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ const DataStoreSelection = ({onChange = noop, value = SupportedDataStores.JAEGER
const configuredDataStoreType = dataStoreConfig.defaultDataStore.type;

return (
<S.DataStoreListContainer tabPosition="left" onChange={dataStore => onChange(dataStore as SupportedDataStores)}>
<S.DataStoreListContainer
tabPosition="left"
onChange={dataStore => onChange(dataStore as SupportedDataStores)}
defaultActiveKey={value}
>
{supportedDataStoreList.map(dataStore => {
const isSelected = value === dataStore;
const isConfigured = configuredDataStoreType === dataStore && dataStoreConfig.mode === ConfigMode.READY;
Expand Down

0 comments on commit 20e795c

Please sign in to comment.