From ff4164481850e0db553b358c08009758952fe64b Mon Sep 17 00:00:00 2001 From: maryia-lapata Date: Mon, 20 Apr 2020 18:48:46 +0300 Subject: [PATCH] Fix TS --- .../application/embeddable/panel/dashboard_panel_placement.ts | 3 ++- src/plugins/dashboard/server/saved_objects/dashboard.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts b/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts index 70a6c83418587..b95b7f394a27d 100644 --- a/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts +++ b/src/plugins/dashboard/public/application/embeddable/panel/dashboard_panel_placement.ts @@ -18,7 +18,8 @@ */ import { PanelNotFoundError } from '../../../embeddable_plugin'; -import { DashboardPanelState, GridData, DASHBOARD_GRID_COLUMN_COUNT } from '..'; +import { GridData } from '../../../../common'; +import { DashboardPanelState, DASHBOARD_GRID_COLUMN_COUNT } from '..'; export type PanelPlacementMethod = ( args: PlacementArgs diff --git a/src/plugins/dashboard/server/saved_objects/dashboard.ts b/src/plugins/dashboard/server/saved_objects/dashboard.ts index 0d2accd66e205..65d5a4021f962 100644 --- a/src/plugins/dashboard/server/saved_objects/dashboard.ts +++ b/src/plugins/dashboard/server/saved_objects/dashboard.ts @@ -23,7 +23,7 @@ import { dashboardSavedObjectTypeMigrations } from './dashboard_migrations'; export const dashboardSavedObjectType: SavedObjectsType = { name: 'dashboard', hidden: false, - namespaceAgnostic: false, + namespaceType: 'single', management: { icon: 'dashboardApp', defaultSearchField: 'title',