diff --git a/ui/spec/shared/reducers/helpers/fieldSpec.js b/ui/spec/shared/reducers/helpers/fieldSpec.js index 32c99809df..b801aa953c 100644 --- a/ui/spec/shared/reducers/helpers/fieldSpec.js +++ b/ui/spec/shared/reducers/helpers/fieldSpec.js @@ -1,4 +1,4 @@ -import {numFunctions} from 'utils/fields' +import {numFunctions} from 'shared/reducers/helpers/field' describe('Formatting helpers', () => { describe('formatBytes', () => { diff --git a/ui/src/data_explorer/components/FieldListItem.js b/ui/src/data_explorer/components/FieldListItem.js index ce49e39d61..7f193ca42f 100644 --- a/ui/src/data_explorer/components/FieldListItem.js +++ b/ui/src/data_explorer/components/FieldListItem.js @@ -2,7 +2,11 @@ import React, {PropTypes, Component} from 'react' import classnames from 'classnames' import FunctionSelector from 'shared/components/FunctionSelector' -import {numFunctions, firstFieldName, functionNames} from 'utils/fields' +import { + numFunctions, + firstFieldName, + functionNames, +} from 'shared/reducers/helpers/field' class FieldListItem extends Component { constructor(props) { diff --git a/ui/src/shared/components/FieldList.js b/ui/src/shared/components/FieldList.js index 2abf50da68..d0407d65ea 100644 --- a/ui/src/shared/components/FieldList.js +++ b/ui/src/shared/components/FieldList.js @@ -8,7 +8,7 @@ import FancyScrollbar from 'shared/components/FancyScrollbar' import {showFieldKeys} from 'shared/apis/metaQuery' import showFieldKeysParser from 'shared/parsing/showFieldKeys' -import {numFunctions} from 'utils/fields' +import {numFunctions} from 'shared/reducers/helpers/field' class FieldList extends Component { constructor(props) { diff --git a/ui/src/utils/queryTransitions.js b/ui/src/utils/queryTransitions.js index f6dc243f83..d707b8dab3 100644 --- a/ui/src/utils/queryTransitions.js +++ b/ui/src/utils/queryTransitions.js @@ -1,7 +1,7 @@ import defaultQueryConfig from 'utils/defaultQueryConfig' import {DEFAULT_DASHBOARD_GROUP_BY_INTERVAL} from 'shared/constants' import {DEFAULT_DATA_EXPLORER_GROUP_BY_INTERVAL} from 'src/data_explorer/constants' -import {hasField, removeField} from 'utils/fields' +import {hasField, removeField} from 'shared/reducers/helpers/fields' import _ from 'lodash' export function editRawText(query, rawText) {