|
@@ -144,7 +144,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
|
|
|
if (!datasourceSrv) {
|
|
if (!datasourceSrv) {
|
|
|
throw new Error('No datasource service passed as props.');
|
|
throw new Error('No datasource service passed as props.');
|
|
|
}
|
|
}
|
|
|
- const datasources = Object['values'](datasourceSrv.getAll());
|
|
|
|
|
|
|
+ const datasources = datasourceSrv.getAll();
|
|
|
const exploreDatasources = datasources.map(ds => ({
|
|
const exploreDatasources = datasources.map(ds => ({
|
|
|
value: ds.name,
|
|
value: ds.name,
|
|
|
label: ds.name,
|
|
label: ds.name,
|