MCPcopy Create free account
hub / github.com/Rello/analytics / isCurrent

Function isCurrent

js/sidebar.js:168–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 OCA.Analytics.Sidebar.Report.reportRequest = sidebarRequest;
167 const reportContainer = document.getElementById('tabContainerReport');
168 const isCurrent = () => OCA.Analytics.Sidebar.Report.reportRequest === sidebarRequest
169 && document.getElementById('tabContainerReport') === reportContainer
170 && OCA.Analytics.currentDataset === reportId;
171 OCA.Analytics.Sidebar.Report.metadataChanged = false;
172
173 OCA.Analytics.Sidebar.resetView();

Callers 1

sidebar.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected