Update reducers to reflect new field helper location
parent
1dc359e5f7
commit
4e8e9b6cb2
|
@ -1,4 +1,4 @@
|
|||
import {numFunctions} from 'utils/fields'
|
||||
import {numFunctions} from 'shared/reducers/helpers/field'
|
||||
|
||||
describe('Formatting helpers', () => {
|
||||
describe('formatBytes', () => {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue