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

Function current

js/panoramaFilters.js:164–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162 state.errors.delete(itemId);
163 this.replaceWidget(itemId, t('analytics', 'Loading'));
164 const current = () => this.state === state && state.renders.get(itemId) === token
165 && state.panorama === OCA.Analytics.currentPanorama && document.getElementById('myWidget' + itemId);
166 try {
167 const data = await this.request(reportId);
168 if (!current()) return;

Callers 1

panoramaFilters.jsFile · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected