浏览代码

using constant

Peter Holmberg 7 年之前
父节点
当前提交
327cdf34d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/features/explore/Graph.tsx

+ 1 - 1
public/app/features/explore/Graph.tsx

@@ -159,7 +159,7 @@ class Graph extends Component<any, any> {
     }
     return (
       <div>
-        {this.props.data.length > 20 &&
+        {this.props.data.length > MAX_NUMBER_OF_TIME_SERIES &&
           !this.state.showAllTimeSeries && (
             <div className="time-series-disclaimer">
               <i className="fa fa-fw fa-warning disclaimer-icon" />