mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: this.loading is undefined, it should be state.loading (#12707)
This might prevent issues with double requests on the user notifications panel.
This commit is contained in:
@@ -79,7 +79,7 @@ export default createWidget("quick-access-panel", {
|
||||
},
|
||||
|
||||
refreshNotifications(state) {
|
||||
if (this.loading) {
|
||||
if (state.loading) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user