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:
Robin Ward 2021-04-14 15:21:54 -04:00 committed by GitHub
parent c1fc2a1e9b
commit e459937ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ export default createWidget("quick-access-panel", {
},
refreshNotifications(state) {
if (this.loading) {
if (state.loading) {
return;
}