Refactor: move NavModel to @grafana/ui (#16813)

This commit is contained in:
Ryan McKinley
2019-04-30 07:46:46 -07:00
committed by GitHub
parent 9660356638
commit 26bd76b4c2
42 changed files with 80 additions and 94 deletions

View File

@@ -5,8 +5,7 @@ import _ from 'lodash';
import config from 'app/core/config';
// Types
import { NavModel } from 'app/types';
import { PluginMeta, DataSourceSettings } from '@grafana/ui/src/types';
import { NavModel, PluginMeta, DataSourceSettings } from '@grafana/ui';
export function buildNavModel(ds: DataSourceSettings, plugin: PluginMeta, currentPage: string): NavModel {
let title = 'New';