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

pull/30452/head
Andrej Ocenas 4 years ago committed by GitHub
parent d9d27340b5
commit c7e6d14d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-data/src/field/index.ts
  2. 2
      packages/grafana-ui/src/components/Table/BarGaugeCell.tsx

@ -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';

@ -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,

Loading…
Cancel
Save