Explore: Fix show all series (#34968) (#34979)

(cherry picked from commit 6e5d349ae8)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-05-31 11:41:47 +02:00
committed by GitHub
co-authored by Zoltán Bedi
parent 0df47643fd
commit 8168629948
@@ -129,7 +129,10 @@ export function ExploreGraphNGPanel({
{`Showing only ${MAX_NUMBER_OF_TIME_SERIES} time series. `}
<span
className={cx([style.showAllTimeSeries])}
onClick={() => setShowAllTimeSeries(true)}
onClick={() => {
structureChangesRef.current++;
setShowAllTimeSeries(true);
}}
>{`Show all ${dataWithConfig.length}`}</span>
</div>
)}