Feature count tracks shall support histogram view - "Bar Graph" display mode for FEATURE_COUNTS tracks ("no sources" warning fix)
@@ -302,7 +302,7 @@ export default class FCBarChartRenderer extends CachedTrackRendererWithVerticalS
sources = [],
values: data = {}
} = sourcesData;
- this.noSourcesPlaceholder.container.visible = sources.length === 0;
+ this.noSourcesPlaceholder.container.visible = cache && cache.sources && sources.length === 0;
this.dataContainer.visible = sources.length > 0;
this.background.visible = sources.length > 0;
// removing unused source renderers:
