diff --git a/ui/src/dashboards/components/GraphOptionsTimeFormat.js b/ui/src/dashboards/components/GraphOptionsTimeFormat.js index ca2c687d1e..42549ffe25 100644 --- a/ui/src/dashboards/components/GraphOptionsTimeFormat.js +++ b/ui/src/dashboards/components/GraphOptionsTimeFormat.js @@ -1,7 +1,5 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' -import moment from 'moment' -import classnames from 'classnames' import InputClickToEdit from 'shared/components/InputClickToEdit' import {Dropdown} from 'src/shared/components/Dropdown' diff --git a/ui/src/shared/components/Layout.js b/ui/src/shared/components/Layout.js index 96548e422e..8a77c214cc 100644 --- a/ui/src/shared/components/Layout.js +++ b/ui/src/shared/components/Layout.js @@ -40,7 +40,7 @@ const Layout = ( { host, cell, - cell: {h, axes, type, colors, legend}, + cell: {h, axes, type, colors, legend, options}, source, sources, onZoom, @@ -77,6 +77,7 @@ const Layout = ( inView={cell.inView} axes={axes} type={type} + options={options} staticLegend={IS_STATIC_LEGEND(legend)} cellHeight={h} onZoom={onZoom}