diff --git a/public/app/core/components/Picker/PickerOption.tsx b/public/app/core/components/Picker/PickerOption.tsx index bffe1f8f34f..1cb350961e6 100644 --- a/public/app/core/components/Picker/PickerOption.tsx +++ b/public/app/core/components/Picker/PickerOption.tsx @@ -12,7 +12,7 @@ export const PickerOption = (props: ExtendedOptionProps) => { return (
- {data.label} + {data.avatarUrl && {data.label}} {children}
diff --git a/public/app/features/explore/Explore.tsx b/public/app/features/explore/Explore.tsx index 2ee9ba3bca3..bdd5ea97e72 100644 --- a/public/app/features/explore/Explore.tsx +++ b/public/app/features/explore/Explore.tsx @@ -9,6 +9,10 @@ import store from 'app/core/store'; import TimeSeries from 'app/core/time_series2'; import { parse as parseDate } from 'app/core/utils/datemath'; import { DEFAULT_RANGE } from 'app/core/utils/explore'; +import ResetStyles from 'app/core/components/Picker/ResetStyles'; +import PickerOption from 'app/core/components/Picker/PickerOption'; +import IndicatorsContainer from 'app/core/components/Picker/IndicatorsContainer'; +import NoOptionsMessage from 'app/core/components/Picker/NoOptionsMessage'; import ElapsedTime from './ElapsedTime'; import QueryRows from './QueryRows'; @@ -519,7 +523,6 @@ export class Explore extends React.PureComponent { const logsButtonActive = showingLogs ? 'active' : ''; const tableButtonActive = showingBoth || showingTable ? 'active' : ''; const exploreClass = split ? 'explore explore-split' : 'explore'; - const selectedDatasource = datasource ? datasource.name : undefined; return (
@@ -541,13 +544,24 @@ export class Explore extends React.PureComponent { {!datasourceMissing ? (