Refreshing graphs are by default inView

pull/2903/head
Luke Morris 2018-02-28 23:06:59 -08:00
parent b4aa74a2a3
commit d44adb5803
2 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,6 @@ const RuleGraph = ({
</div>
<RefreshingLineGraph
queries={queries}
inView={true}
isGraphFilled={false}
ruleValues={rule.values}
autoRefresh={autoRefreshMs}

View File

@ -198,6 +198,10 @@ const AutoRefresh = ComposedComponent => {
: false
}
wrapper.defaultProps = {
inView: true,
}
const {
array,
arrayOf,