Update reducers to reflect new field helper location

pull/2128/head
Chris Goller 2017-10-11 15:45:04 -05:00 committed by Andrew Watkins
parent 6930d25f93
commit 5d9047116f
4 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import {numFunctions} from 'utils/fields'
import {numFunctions} from 'shared/reducers/helpers/field'
describe('Formatting helpers', () => {
describe('formatBytes', () => {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {