grafana/ui: Fix internal import from grafana/data (#30439)

This commit is contained in:
Andrej Ocenas 2021-01-20 17:17:11 +01:00 committed by GitHub
parent d9d27340b5
commit c7e6d14d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,4 +15,4 @@ export { sortThresholds, getActiveThreshold } from './thresholds';
export { applyFieldOverrides, validateFieldConfig, applyRawFieldOverrides } from './fieldOverrides';
export { getFieldDisplayValuesProxy } from './getFieldDisplayValuesProxy';
export { getFieldDisplayName, getFrameDisplayName } from './fieldState';
export { getScaleCalculator } from './scale';
export { getScaleCalculator, getFieldConfigWithMinMax } from './scale';

View File

@ -2,7 +2,7 @@ import React, { FC } from 'react';
import { ThresholdsConfig, ThresholdsMode, VizOrientation } from '@grafana/data';
import { BarGauge, BarGaugeDisplayMode } from '../BarGauge/BarGauge';
import { TableCellProps, TableCellDisplayMode } from './types';
import { getFieldConfigWithMinMax } from '@grafana/data/src/field/scale';
import { getFieldConfigWithMinMax } from '@grafana/data';
const defaultScale: ThresholdsConfig = {
mode: ThresholdsMode.Absolute,