Explore: Fix show all series (#34968)

This commit is contained in:
Zoltán Bedi 2021-05-31 11:18:50 +02:00 committed by GitHub
parent 355be158b7
commit 6e5d349ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
)}