|
@@ -18,6 +18,7 @@ import { getNavModel } from 'app/core/selectors/navModel';
|
|
|
import { getRouteParamsId } from 'app/core/selectors/location';
|
|
import { getRouteParamsId } from 'app/core/selectors/location';
|
|
|
|
|
|
|
|
import { DataSource, NavModel, Plugin } from 'app/types/';
|
|
import { DataSource, NavModel, Plugin } from 'app/types/';
|
|
|
|
|
+import { getDataSourceLoadingNav } from '../state/navModel';
|
|
|
|
|
|
|
|
export interface Props {
|
|
export interface Props {
|
|
|
navModel: NavModel;
|
|
navModel: NavModel;
|
|
@@ -227,7 +228,7 @@ function mapStateToProps(state) {
|
|
|
const dataSource = getDataSource(state.dataSources, pageId);
|
|
const dataSource = getDataSource(state.dataSources, pageId);
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
- navModel: getNavModel(state.navIndex, `datasource-settings-${pageId}`),
|
|
|
|
|
|
|
+ navModel: getNavModel(state.navIndex, `datasource-settings-${pageId}`, getDataSourceLoadingNav('settings')),
|
|
|
dataSource: getDataSource(state.dataSources, pageId),
|
|
dataSource: getDataSource(state.dataSources, pageId),
|
|
|
dataSourceMeta: getDataSourceMeta(state.dataSources, dataSource.type),
|
|
dataSourceMeta: getDataSourceMeta(state.dataSources, dataSource.type),
|
|
|
pageId: pageId,
|
|
pageId: pageId,
|