()
| 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; |