mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[TSVB] Decrease the bundle size (#125777)
* Async get series * Async load getExtents * Load async 1 level up * Remove comment Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
dff2d94be7
commit
e1280a4b1b
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,6 @@ import {
|
|||
} from '../../../visualizations/public';
|
||||
import { getDataStart } from './services';
|
||||
import type { TimeseriesVisDefaultParams, TimeseriesVisParams } from './types';
|
||||
import { triggerTSVBtoLensConfiguration } from './trigger_action';
|
||||
import type { IndexPatternValue, Panel } from '../common/types';
|
||||
import { RequestAdapter } from '../../../inspector/public';
|
||||
|
||||
|
@ -169,6 +168,8 @@ export const metricsVisDefinition: VisTypeDefinition<
|
|||
return [];
|
||||
},
|
||||
navigateToLens: async (params?: VisParams) => {
|
||||
const { triggerTSVBtoLensConfiguration } = await import('./trigger_action');
|
||||
|
||||
const triggerConfiguration = params
|
||||
? await triggerTSVBtoLensConfiguration(params as Panel)
|
||||
: null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue