A platform for community discussion. Free, open, simple.
FIX: prevents race condition where the same report is loaded multiple times (#6953)
Joffrey JAFFEUX0e1862013a70
diff --git a/app/assets/javascripts/discourse/lib/reports-loader.js.es6 b/app/assets/javascripts/discourse/lib/reports-loader.js.es6index d6c090d69cc..fefd6c4c4d6 100644--- a/app/assets/javascripts/discourse/lib/reports-loader.js.es6+++ b/app/assets/javascripts/discourse/lib/reports-loader.js.es6@@ -74,9 +74,7 @@ export default {.finally(() => {_processing--;- // when a request is done we want to start processing queue- // without waiting for debouncing- debounce(this, this._processQueue, DEBOUNCING_DELAY, true);+ debounce(this, this._processQueue, DEBOUNCING_DELAY);});},