resolve linter errors
parent
993137025f
commit
15ee3644fb
|
@ -4,7 +4,6 @@ import {withRouter} from 'react-router'
|
||||||
import {bindActionCreators} from 'redux'
|
import {bindActionCreators} from 'redux'
|
||||||
|
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import Dygraph from 'src/external/dygraph'
|
|
||||||
|
|
||||||
import {isUserAuthorized, EDITOR_ROLE} from 'src/auth/Authorized'
|
import {isUserAuthorized, EDITOR_ROLE} from 'src/auth/Authorized'
|
||||||
|
|
||||||
|
@ -32,7 +31,7 @@ import {
|
||||||
templateControlBarVisibilityToggled as templateControlBarVisibilityToggledAction,
|
templateControlBarVisibilityToggled as templateControlBarVisibilityToggledAction,
|
||||||
} from 'shared/actions/app'
|
} from 'shared/actions/app'
|
||||||
import {presentationButtonDispatcher} from 'shared/dispatchers'
|
import {presentationButtonDispatcher} from 'shared/dispatchers'
|
||||||
import {DASHBOARD_LAYOUT_ROW_HEIGHT, DYGRAPH_CELL_TYPES} from 'shared/constants'
|
import {DASHBOARD_LAYOUT_ROW_HEIGHT} from 'shared/constants'
|
||||||
|
|
||||||
const FORMAT_INFLUXQL = 'influxql'
|
const FORMAT_INFLUXQL = 'influxql'
|
||||||
const defaultTimeRange = {
|
const defaultTimeRange = {
|
||||||
|
|
|
@ -4,8 +4,6 @@ import {bindActionCreators} from 'redux'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import classnames from 'classnames'
|
import classnames from 'classnames'
|
||||||
|
|
||||||
import Dygraph from 'src/external/dygraph'
|
|
||||||
|
|
||||||
import LayoutRenderer from 'shared/components/LayoutRenderer'
|
import LayoutRenderer from 'shared/components/LayoutRenderer'
|
||||||
import DashboardHeader from 'src/dashboards/components/DashboardHeader'
|
import DashboardHeader from 'src/dashboards/components/DashboardHeader'
|
||||||
import FancyScrollbar from 'shared/components/FancyScrollbar'
|
import FancyScrollbar from 'shared/components/FancyScrollbar'
|
||||||
|
|
|
@ -28,7 +28,7 @@ class Crosshair extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const {func, number, shape, string} = PropTypes
|
const {number, shape, string} = PropTypes
|
||||||
|
|
||||||
Crosshair.propTypes = {
|
Crosshair.propTypes = {
|
||||||
dygraph: shape({}),
|
dygraph: shape({}),
|
||||||
|
|
|
@ -21,7 +21,6 @@ class TableGraph extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUpdate(nextProps) {
|
componentWillUpdate(nextProps) {
|
||||||
// TODO: determine if in dataExplorer
|
|
||||||
const {labels, data} = timeSeriesToTableGraph(nextProps.data)
|
const {labels, data} = timeSeriesToTableGraph(nextProps.data)
|
||||||
this._labels = labels
|
this._labels = labels
|
||||||
this._data = data
|
this._data = data
|
||||||
|
|
Loading…
Reference in New Issue